That has happened to me at least twice, unfortunately. I'll wait for 5 minutes, and if the console doesn't shut down I just pull the plug. This won't hurt your system at all.I have a quick question, I have notice that my P$4 Freezes if the hen is run twice. when i try to shutdown my console it would stay on the blue screen for hours but it does not shutdown. Any help?
Now, once you go back into your PS4, see if your games are still there (they should be) and backup your database (app.db) using either DbBackup.bin or using FTP. If using FTP, you want to save system_data\priv-mms\app.db.