I used the battery pull method described here (Boot Into Recovery From Power Off State) and restored from a backup I made beforehand in clockwork recovery.