Moving while engaged with hostiles
Moving while engaged with hostiles
Considering there is some kind of roll when you try to change to pos avoid while engaged in melee combat with a hostile, I think the same kind of check should apply when attempting to leave the room.