Those aren't high temps, at least depending on what you are doing. So overheating would not be the problem, unless your CPU or GPU were ultra sensitive.
When it shut down, were there any messages first? Also, has it turned on since or repeated this issue?