Microsoft has confirmed that the latest Windows 11 Canary version has a special bug that prevents it from shutting down under certain circumstances.
According to Jen Gentleman, a member of Microsoft’s Windows engineering team, when users connect a USB wired Xbox joystick to Windows 11 Build 25314 and 25324 versions of the system, the system will hang on shutdown.

In addition, the bug also causes some computers to have a blue screen (green screen) of death while sleeping.
If you have the problem, you can try to disconnect the Xbox handle before shutting down the computer. In addition, we do not recommend using the Windows 11 Canary version on your main device, as it is a very early version and therefore inevitably has strange bugs.