To restrain someone or something from entering a place or condition.
To refrain from entering a place or condition.
To rescue a person or situation from imminent danger or major failure.