ringing?or is it the alarm?

My Sony Ericsson phone sent me out of a theatre for its recurrent alarm. I turned my phone off and was surprised to hear it ringing. I thought it wasn't mine at first. And then I realized the sound is coming from inside my bag. Do not just turn it off. Remove the battery as well.