Got kicked out of a battlegrounds game

Me and a friend were playing battleground duos and were in the 10+ turn area. My friend had about 60 plus gold due to him playing pirates and assisting me throughout the rounds. After the timer went out, the game forced us to be defeated, even though we had more then enough health as well as armor. We were doing really well, and got annoyed by this deeply. Unsure if you can do anything about this, but even a response back would help. Thank you.