A system shutdown is almost always an indication of the hardware issue. This could be a current over drawn, a heat issue in the PSU / CPU or GPU. (Could also be motherboard) I have never in over 30 years as a tech seen a program be the cause of this kind of an issue. I can be the trigger, but not the cause.