My phone often seems to shut down and restart. All I know is that I hear the start up sound on a regular basis!
Have you checked if the battery is properly inserted? Another reason is you've probably set the phone into auto-restart mode which prompted the restart on a regular basis. Be sure to check the phone's setting.