Hi friend, we have done the test with the Raspberry Pi OS you provided,the X708 turn off after run the x708off, there is no issue, we suggest you do uninstall and reinstall the OS and shell script to test again, thanks!