How to get my iPhone 5 (jailbroken) out of Safe Mode when sleep button is broken?

So my power button doesn't work and I've always used my jailbreak to put it to sleep. If/when my phone randomly goes into safe mode, I usually get a popup that lets me restart and then it's fine again. This time I did not and because I can't restart it, I don't know what to do. At the moment I'm just trying to let it run out of battery to restart and I'll have to use a charger to turn it back on again but will it solve my problem?

Fix sleep button than it will press

  • Will Apple replace my Iphone 5 broken sleep button? It's just a little over a year old and is not damaged in any other way. The top button use to sometimes work and then only in the left corner but now it's completely dead.
  • Why does my jailbroken iphone 4 go into safe mode? Every time i get a call, my iphone will respring, and when i ene the call, it goes into safe mode. Why is that?
  • My iphone 4 is in safe mode and my power button doesn't work. What do I do? I dropped my iphone today while i was getting in the car and it turns on but it only turns on for 5 seconds then it goes black again and to the apple sign and goes back and fourth from that and the battery and shows me that I have no battery.It'll do that for like 20 min. My friend told me its in safe mode and i need to reset it with the power and home button but my power button is completely broken. So I have no idea what to do.
  • Jailbroken iphone 4 in safe mode? Using cydia i downloaded barrel and now my phone enters safe mode. Also when i turned my phone back on cydia was gone. I tried restarting it and it didn't work. And it will not let me restore my phone back to normal, not even with tunes. Is there anything else i can do or is my phone shot?