I tried to power off an iPhone today for 5 minutes, failed, and just gave up. Why Apple, why would you make this simple action so damn obscure.
After some digging, I found a new trick that I guess is implemented at a lower level: press and release volume up, then volume volume down, then press and hold the main button until it powers off.