I started a battle against a Traders Brig in my gunboat during the battle both myself and the TBrig became beached. Another pirate who joined the battle after me in a Privateer stayed at range from the TBrig while firing at it's rigging eventually demasting it. After which he moved in closer to me and proceeded to fire into my broadside sinking me.