saved by the bell

Saved by the bell means that you have been saved by the timely intervention of someone or something; most often an actual bell or someone calling you which prevented something else unpleasant from happening. This phrase originates from when a boxer would be saved from being knocked out or counted out when the ball rang to end that round.