I have used Apple before. While it has a few perks, still prefer Windows.
It is possible it is actually overheating. Try installing software to monitor that. I myself like "Speedfan" but there are quite a few more out there, all free. Install and have it run while you are using the computer, make sure it is set to log, and see what the temps are just before it turns off, etc. If it does turn out it is overheating, that can be fixed pretty easily. Where as if it continued, it could cause lots of damage.