Default [Q]Shut off phone without power button or root?

Is there a way to shut off the phone without the power button?

I left my phone out in the rain for about 20-30 minutes, the power button and the volume up button are no longer functioning. Is there a way to shut off this phone without the power button functioning and without root?

The phone is sitting in rice atm...