The actor hilariously mixes up his costar with his via ferrata mountain-climbing equipment in a Running Wild with Bear Grylls clip

Credit: Getty

Jesse Tyler Ferguson credits Sofia Vergara with saving him from a dangerous plunge during a mountain-climbing expedition with Bear Grylls.

In an exclusive sneak peek at Monday’s Running Wild with Bear Grylls, the Modern Family star and the survivalist use via ferratas – climbing routes with fixed protection to help climbers – as they scale a step summit … and it’s clearly Ferguson’s first time using the implements (or any sort of climbing lingo).

“Unclip yourself from the via ferrata,” instructs Grylls, 41.

“From the Sofia Vergara, I unclip myself?” asks Ferguson, joking about his costar’s similar-sounding name.

“Sofia Vergaras are very, very old, like a hundred years old,” continues Ferguson, 39. “And you’ve got to be really careful with those Sofia Vergaras.”

“Jesse can’t quite get the via ferrata,” Grylls says in an interview. “To be honest, I just let him go with it.”

“The Sofia Vergaras are my best friend down here because without them I would be down there,” says Ferguson, pointing to the bottom of the mountain.

RELATED: You’ll Never Guess What Kate Hudson Is Eating in the New Promo for Running Wild with Bear Grylls

Obviously out of his comfort zone, Ferguson then tells the camera that he’s “seen [his] life flash before [his] eyes seven times” – but thankfully, he’s got those good old Sofia Vergaras.

“Sofia Vergara saved my life,” said Ferguson, before pausing: “Am I saying it wrong?”

Running Wild with Bear Grylls airs Mondays (10 p.m. ET) on NBC.