You can turn off your PS4 without a controller by using the power button on the front of the console. Here's how to do it on ...
PS4 Safe Mode can be useful to troubleshoot issues with your console, but you might also get stuck in a Safe Mode loop.