What a mess. Place your bets on what kind of brainless deus ex ends the fight against the demon shota 🙄
I’m going with right before he loses, another demon teleports in, uses his powerful aura to bind the MC, and saves him. Your princess is in another castle!
I’ll also accept the demon shota getting the standard shounen redemption flashback sequence and joining the party.