"On take one of my finale routine, which we rehearsed and rehearsed and rehearsed and rehearsed, my dance partner did something unrehearsed, and the result was me hearing a loud rip and a pop," he said. "It was my bicep."

11PHOTOS

Sofia Vergara, Joe Manganiello, wire/event pics

See Gallery

Joe Manganiello recalls the time Sofia Vergara threatened to leave him

HOLLYWOOD, CA - MAY 07: Joe Manganiello and Sofia Vergara Honored With Star On The Hollywood Walk Of Fame on May 7, 2015 in Hollywood, California. (Photo by Steve Granitz/WireImage)

NEW YORK, NY - MAY 04: Sofia Vergara and Joe Manganiello attend the 'China: Through The Looking Glass' Costume Institute Benefit Gala at the Metropolitan Museum of Art on May 4, 2015 in New York City. (Photo by Andrew H. Walker/Getty Images for Variety)

HOLLYWOOD, CA - APRIL 30: Actress Sofia Vergara (L) and actor Joe Manganiello attend the Premiere of New Line Cinema And Metro-Goldwyn-Mayer's 'Hot Pursuit' at TCL Chinese Theatre on April 30, 2015 in Hollywood, California. (Photo by Frazer Harrison/Getty Images)

NEW YORK, NY - MAY 04: Actress Sofia Vergara (L) and Joe Manganiello attend the 'China: Through The Looking Glass' Costume Institute Benefit Gala After Party on May 4, 2015 at The Standard Hotel in New York City. (Photo by Mark Sagliocco/Getty Images)

LAS VEGAS, NV - APRIL 21: Actors Joe Manganiello (L) and Sofia Vergara attend Warner Bros. Pictures Invites You to ÂThe Big PictureÂ, an Exclusive Presentation Highlighting the Summer of 2015 and Beyond at The Colosseum at Caesars Palace during CinemaCon, the official convention of the National Association of Theatre Owners, on April 21, 2015 in Las Vegas, Nevada. (Photo by Alberto E. Rodriguez/Getty Images for CinemaCon)

LOS ANGELES, CA - DECEMBER 04: Joe Manganiello and Sofia Vergara attend Gucci And GQ Celebrate Men Of The Year at Chateau Marmont on December 4, 2014 in Los Angeles, California. (Photo by Charley Gallay/Getty Images for GQ)

Up Next

See Gallery

Discover More Like This

HIDE CAPTION

SHOW CAPTION

of

SEE ALL

BACK TO SLIDE

Manganiello powered through the scene -- "which involves a sex swing with monkey bars on top" -- despite his injury but Vergara, who was on set at the time, wasn't too pleased.

"Sofia was there that day. We got back to my trailer and, as soon as the door closed, she said, 'If I see you at the gym tomorrow, we're done!'," he joked. "'I'm going to leave you! That's it!'"