You can drink a potion of magic and healing (if the commander is injured) before the battle. You can drink a potion of magic until you're full; even if you have 100 mana, there's nowhere to put it, and if the hero flees during the battle, it doesn't matter.

Барон "Vampires"
Отдай свои прошлые сны,
В сомненьях себя обрети,
В бешеном танце душа кружится!
Не думай, что будет потом,
Здесь и сейчас мы живем,
Стань хоть на миг сам собой, слышишь!