Intermittent shutdowns can be caused by various issues, such as overheating, hardware problems, or software issues.
Check for overheating by ensuring proper ventilation and cleaning any dust from fans. Update device drivers,
scan for malware, and monitor system logs for error messages.
If the problem persists, consult a technician for a thorough diagnosis.