Why is his computer shutting down? My husband has a MacBook Pro he purchased in 2009 this afternoon it just Stsrted randomly shutting down?

If the mouse is in motion it will stay on otherwise it shuts down- any idea what this could be?
Update: I realize this is in the wrong section but for some reason ya won't let me move it:(
3 answers 3