Late 2013 Macbook Pro turns off at random times I have a late 2013 15' MacBook Pro I've had since it was new. 

Starting about two weeks ago it randomly shut down without any notice. It has since shut down multiple times. Sometimes 5 minutes will go by and sometimes it will be multiple hours. The screen goes black and when I turn it back on there are zero notifications about it shutting down improperly or having a critical issue. It happens while using an external HDMI display or not, power adapter plugged in and not. 

I have tried:


SMC reset 
PRAM Reset
Diagnostic mode boot up


I recently tried booting up to Windows 10 through boot camp and it hasn't powered off once, which is odd.

I've read around the net and a number of posts on this site, I don't see any solid solutions yet and I haven't brought it into Apple or an authorized repair center.
try booting into safe mode and test out the machine and see if it powers off. To boot into safe mode, hold down the Shift key when you power it on. Test it and see if it happens again. If not, it could be a third-party application or extension.