Windows 11 bug prevents some PCs from shutting down: Here's how to fix it
Microsoft suggests typing cmd into the Search bar and selecting Command Prompt from the results. Enter shutdown /s /t 0 in the Command Prompt window to allow your computer to shut down normally.