If your CPU is getting overheated the computer will automatically shut down. I had a situation on an older computer where one side of the heatsink clip failed, so the heatsink wasn't making solid contact. The machine would automatically shut down after a minute or so. Maybe you CPU fan froze.
