How do you stop yourself while manic?

I realized that I was manic after 2 weeks of impulsive behavior and moved in with my mom for a week so I wouldn't get into more trubbel. She went away for one night and I went loco. It's so fucking hard being aware of the impulses and not being able to stop them. 

This is one of my absolutely worst episodes so far and I basically have to look myself in and take sleepingpills so I won't do something stupid, or you know, just stay at home. I have't gone to work because of this and they are noticeable annoyed that I've been "sick" for so long. 

I feel like there have to be another way to handle it.. How do you guys stay on track?