I had the same problem. Slavers and vikingrs were fighting and I rushed to help the slavers and then started under water. I pressed "tab" and it brought me out of the battle as though I won, but it did a lot of weird things to the two groups like neither were actually hurt but took each other prisoner too.