One recent client's PC wouldn't boot. Touching the CPU fan, it was loose.There was time to ALMOST get to the BIOS Temperature readings.
Intel CPUs, at least, will shut down very quickly if the heat sink isn't properly attached. You can tell if overheating is the problem if the shutdown time gets less and less if the PC is restarted several times in quick succession.