I didn't think about this earlier, instead of pain of powering off device etc. You also could try holding down power button (while phone is on) and hit reboot and see if it gives you option to reboot or reboot into recovery/boot loader. As some devs incorporate this option in their rom.
Has someone helped you? Dont forget to hit the "thanks" button!
Seen an offense or bad post? Hit the /!\ button!