When Windows crashes due to application, hardware or any other system fault, it is by default set to automatically reboot. In some cases, if the crashing is persistent and you want to troubleshoot your PC, you might not want the system to go into autoreboot mode.

Navigate to:
HLM\ SYSTEM\ CurrentControlSet\ Control\ CrashControl
Change the value of AutoReboot to 0 to prevent an automatic reboot after a crash.