Is it still in this condition?
If yes, press power button for 10 seconds and it will perform force shutdown and then start your PC with Windows 8.1 then look into log files located on Windows Setup Log Files and Event Logs | Microsoft Docs and look into log files and you could investigate what caused this issue.