The trio was among 15 people who got stuck on the third floor of the Sheraton Kansas City Hotel.
The actors were trapped for about an hour before the Kansas City Fire Department got them out.
There were headlining the fundraiser and were freed about 10 p.m., an hour after they were scheduled to appear.
Stonestreet tweeted a photo of the group in the elevator along with the message, "I honestly handled being stuck in an elevator for 50min better than I thought. All @jessetyler did was pass wind. That's my mom in blue."
Ferguson tweeted, "Finally made it out of the stuck elevator at the one hour mark. At least the firemen in K.C. are cute." It was accompanied by a short video of crews helping Bowen out using a ladder.
All in all, everyone seemed to be laughing about the unfortunate situation.
Stonestreet grew up in Kansas City, KS. When the trio finally took the stage, the actors praised and thanked the fire department.
Copyright 2013 KCTV (Meredith Corp.) All rights reserved. The Associated Press contributed to this report.
BRADENTON BEACH, FL (WFLX) - People are outraged after a Florida couple was caught having sex on a public beach Sunday afternoon in front of dozens of people including children. Bradenton Beach policeMore >
People are outraged after a Florida couple was caught having sex on a public beach Sunday afternoon in front of dozens of people including children.More >
Wednesday, July 23 2014 10:38 AM EDT2014-07-23 14:38:30 GMT
Tragedy has repeatedly touched the life of the mother of a 5-year-old girl shot to death in Leavenworth Friday night.More >
Tragedy has repeatedly touched the life of the mother of a 5-year-old girl shot to death in Leavenworth Friday night. And some wonder if more could have been done to protect the children of Christina Harris from violence.More >