Ted has a brush with death which makes him reevaluate his relationship with Stella. Meanwhile, Marshall and Robin debate whether or not Ted's experience was a miracle. Robin doesn't believe in miracles but Marshall thinks they happen all the time and sites examples drawn from their lives to prove it. Ted and the gang are surprised when Barney doesn't visit Ted in the hospital only to learn that Barney himself needs the biggest miracle of all.