A situation in which an accident or other unfortunate incident is only just avoided.
a scenario which ends safely but might well have ended in disaster
an attempt which fails narrowly; a performance which falls just short of a certain benchmark
a miss which was nearly a hit or collision