You have just said that she is perfectly sane."
You thought she was sane.
The war was not won by skill or prowess, but by luck--had the enemy commander not foolishly attacked and lost his main host, the capital may have fell by now.