Term: close call
Example: jerry experienced a close call when he was sailing on his boat and a strong gale knocked down his mast and missed his head by a hair
Definition: when something almost happens