It's every theme park goer's nightmare.

Dozens of people were stuck 220 feet in the air for several hours on Sunday when the SeaWorld San Diego ride they were on suffered a power outage.

Forty-eight people, including two SeaWorld employees, were on their way up the 400-foot tall structure when the power went out and halted the ride mid-air, CBS News reported. Engineers were able to restore power to the ride four hours later a little after 7:00 p.m.

None of the passengers suffered injuries, however a 17-year-old boy was transported to a hospital for anxiety, San Diego Fire Department spokesman Lee Swanson told the station.

"The guests were never in danger and park officials were in constant communication with them while the power failure was being addressed," SeaWorld said. "Two SeaWorld employees were also in the Skytower providing guests with water and snacks."

SDFD officials remained at the scene as a precaution until the visitors were safely returned to the ground. The park thanked the guests for their patience and refunded their admission fees.

Officials do not yet know what caused the power outage on the Skytower, an elevator ride that offers a 360-degree view of San Diego and Mission Bay.

"The cause of the power failure is under investigation," the park said.  

Another malfunction last October at Universal Studios in Orlando left 12 guests stranded hundreds of feet higher than Sunday's incident.

Passengers on the Hollywood Rip Ride Rockit were suspended 17 stories, flat on their backs, above the park for two hours. Officials said the ride's computers experienced a glitch that caused it to stop and go into safety mode. All of the passengers were later freed.