I have a mid 2009 macbook pro. He's shutting down on their own. It pops up a warning telling if I really want to shut down the computer, if I don't click 'cancel', it does do it without further action. I think the problem is on the trackpad. If I keep the finger in the trackpad, none of this problems will occur.