|While your character is in combat some actions might be unavailable. Combat will end after a short period of non-hostility.|
It is not analogous to turn based combat mode. You cannot leave turn-based combat mode while in combat. In combat ends when all hostiles have been killed, you have left the combat area or you have successfully avoided hostiles (e.g. barricaded yourself into a room) for a few turns.