Had the exact same thing, in my case the gate in question was held by two spear units sitting a bit behind it and archers on the walls around it, and the enemy waltzed right through anyway. Gates can't actually be 'captured' in the sense you'd think they can.
The enemy reinforcements were at least nice enough to wait around while I slaughtered their lonely king first.
Bookmarks