A lot of applications, updates and drivers force Windows to restart, sometimes without the option to stop that from happening. ShutDownGuard is a free application that helps you “guard” against such unexpected shutdowns or restarts. Thanks AppScout