Computer restarting? You can thank Microsoft for a Critical Security Update release!
This morning Microsoft released a non-normal, security update which was deemed critical enough to bypass the normal Patch Tuesday release along with anything else. Therefore if you found your computer restarting automatically it would be because of this.