If your Surface won't turn off and is frozen on the same screen, try the following:

 

Hold down the Power button and the Volume up button for 15 seconds. Wait a few seconds, and then press the Power button again and it will restart.

 

 

If the device turns off and does not come back up immediately, press the power button by itself and the device should reboot.