Troubleshooting Windows unexpected restarts and stop code errors ...
If you added new hardware to your PC before the error, shut down your PC, remove the hardware, and try restarting. Start your PC in safe mode. If you're having trouble restarting, you can start your PC in safe mode. See start your PC in safe mode in Windows 10 for details. From safe mode, you can try the remaining troubleshooting steps.
Force a shutdown and restart your Surface | Microsoft Support
How can I use force a shutdown and restart? If your Surface becomes unresponsive or freezes, try the following steps to force a shutdown and restart: Important Whenever possible, shut down your Surface using the standard method. For guidance, see Surface power states to learn how to turn off your device normally.
Fix gaming issues with the XBOX app for PC and handhelds
Learn how to troubleshoot problems installing or running games from the XBOX app for PC and handhelds.
XBOX Status | XBOX Support
Check the Xbox Support page for updates on the status of Xbox features and functionality.
Shut down, sleep, or hibernate your PC | Microsoft Support
Windows 11 Windows 10 Turn your PC off completely To shut down, select Start and then select Power > Shut down . Sleep Sleep uses very little power, your PC starts up faster, and you’re instantly back to where you left off.
Shut down (turn off) your PC | Microsoft Support
To turn off your PC in Windows 11, select the Start button, select the Power button, and then select Shut down . To turn off your PC in Windows 10, select the Start button, select the Power button, and then select Shut down .
Startup Repair | Microsoft Support
Startup Repair is a built-in Windows recovery tool that helps fix issues preventing the operating system from starting. It runs from the Windows Recovery Environment (WinRE) and automatically diagnoses and repairs common startup problems such as corrupted system files or boot configuration errors.
Windows doesn't respond or stops working on Surface
If Windows starts up slowly, runs slowly, or stops responding (freezes) on your Surface, here's info to help you get it working again. If Windows is frozen Force a shut down and restart Press and hold down the power button until your Surface shuts down and restarts and you see the Windows logo screen again (about 20 seconds), then release the power button.
Troubleshooting blank screens in Windows | Microsoft Support
Force shutdown your PC by holding the power button for 10 seconds. Repeat this 2–3 times until Windows enters Recovery Mode. Navigate to Troubleshoot > Advanced Options > Startup Settings > Restart. Press F5 to boot into Safe Mode with Networking. 3. Update or Roll Back Graphics Drivers In Safe Mode, open Device Manager.
Shut down (turn off) your PC - Microsoft Support
To turn off your PC in Windows 10, select the Start button, select the Power button, and then select Shut down .