There is a known issue in 1.12.6 where battle gets stuck when Gretel's / Hansel's Spell Slay effect killed the last hero. We have fixed this issue in our latest update 1.12.7. Please update your game to resolve this issue.
[KNOWN ISSUE] [SOLVED] Gretel's/Hansel's Spell Slay Effect
Last Updated: 1181d