I returned to the tab after a couple minutes of writing this comment and it let me move on with a battle failed message, so it seems y'all thought of many eventualities, great work.
(now this feedback is super nitpicky!)
Some indication that the battle has a fail-safe would be nice, it seemed to take long enough that most people would've given up and restarted their run.