Looks like OP hasn't quoted there's a flee button (middle of right border) and that's the only way to flee (perhaps also changing area I never tried it but quoted that stuff as stairs was enabled during combats.
I used the flee button a few time (stealing going wrong) and it worked but the tricky point was to manage do it and have no death. In some cases in can be a problem like in a cave.