DS4 Stuck in Discovery (Bluetooth) Mode

Solution 1:

I had this problem too.
All you have to do is to connect the controller through the USB to the ps4, and then unplug it. It will reset and exit Bluetooth mode, and will work with the PS4 again normally