Can’t you just turn off Bluetooth easily via Control Center? Top left Bluetooth symbol
That's why I said you need to do it through settings directly. Otherwise it won't do anything.
Apple themselves even says if you want to turn off Bluetooth, you need to do it through settings: https://support.apple.com/en-us/102412
Otherwise it's merely a temporary disconnect.