Whether or not you're getting enough sleep, you need to be somewhere safe so you won't hurt yourself or others. Sometimes in an episode, logic and other people's feelings just don't matter anymore. If you don't want to accidentally do something bad when you aren't thinking straight and don't have control over it, find some way of getting help. And please, talk to your mom and apologize! It's not your fault, but your mom might still feel a bit sore even though you weren't able to think when you acted.
Gaia Alliance for the Mentally Ill