Actions taken after you defeat the enemy banner can still make you lose
If you defeat the enemy banner, and on that same turn the enemy destroys your banner, you lose, even if you struck first. This applies to counter effects such as enemy birds under Cannoneer's Counter or the Retaliate emblem.
Bug or intended?