Isn't restore 101
To switch things off *before* powering back up ?
Otherwise you're just risking it tripping again ...
and again ...
and again ...
The proper procedure is:
1) power goes
2) power everything off (physical switches if needs be)
3) fix underlying problem
4) begin power-up sequence. Which is laid out somewhere in the DR manual.
But then I am 50, so have some smarts you'd have to pay for.