A battle with a Barbarian in the central Castle. Is there a glitch there? Sometimes he offers money to leave the battle, about 5000. If you agree, he runs away and gives you the money. But if you refuse, he disappears somewhere and gives neither money nor potions.
There are two of them – with troops for money, and without troops for free, right?
Well, the AI also has both of these options. A glitch, a glitch... :D
In short, I had to refuse the money and use load/save to make sure that this surrender window didn't appear.