The first thing that pops into mind is to check your fans - CPU, Power, etc. Overheating can cause some systems to suddenly power down. OTOH, that tends to be a hard shutdown rather than a quick reboot.
If you're using a Windows-flavor system, you can also check your event log and see if it reports anything relevant. (One assumes that antivirus is current and running.)
no subject
If you're using a Windows-flavor system, you can also check your event log and see if it reports anything relevant. (One assumes that antivirus is current and running.)