You could just hit escape and click on exit battle, I believe that if you are not engaged in combat it will just end the battle and say that it was a draw, without causing any casualties. You might want to start a throw away campaign just to test it though, because I am not 100%.