Is there a simple MacOS Bluetooth Toggle Shell Command?
There is a third-party utility named blueutil that makes it easy:
blueutil --power toggle

Toggles the Bluetooth power state.
See the Usage section on the linked webpage for additional usage information.
Note: If you do toggle the power state, turning Bluetooth off, make sure you can control your Mac's keyboard via USB or built-in if a notebook.