(CNN) -- Carnival Cruise Lines is working to fly all passengers on one of its cruises back to Florida after the ship suffered a generator failure while docked in the Caribbean.
The experience on the Carnival Dream became something of a nightmare for passengers Wednesday when power went off, toilets stopped working, and no one was allowed to leave -- despite the fact that the ship was docked at Philipsburg, St. Maarten, in the eastern Caribbean.
See Also: An in-depth look at the Carnival Dream
Although power was restored and facilities were functioning again, the ship still can't leave its port.
"During regularly scheduled testing of the ship's emergency diesel generator, a malfunction occurred," Carnival said in a statement.
"While personnel continue to work on the technical issue we are making arrangements to fly all guests home via private charter flights and scheduled flights from St. Maarten. Guests on the current voyage will receive a refund equivalent to three days of the voyage and 50 percent off a future cruise.
"We are also cancelling the ship's next voyage which is scheduled to depart on Saturday, March 16."
On Tuesday, Carnival announced it was conducting "a comprehensive review" of all of its 23 ships following a disaster last month in which a fire crippled one of its ships in the Gulf of Mexico. Carnival President and CEO Gerry Cahill said the probe will focus on the prevention, detection and suppression of fires, engine room redundancies, and what additional hotel facilities might be provided and might run off the emergency generators.
His comments, posted on Carnival's website, were made at an annual cruise industry conference in Miami.
Carnival to inspect all of its cruise ships
Carnival acknowledges 'periodic interruptions'
"We are not allowed off of the boat despite the fact that we have no way to use the restrooms on board," Jonathan Evans of Reidsville, North Carolina, said in an e-mail early Thursday. "The cruise director is giving passengers very limited information and tons of empty promises. What was supposed to take an hour has turned into 7-plus hours."
U.S. Coast Guard Chief Petty Officer Ryan Doss told CNN, "We have spoken to the captain and right now, the decision has been made to have the passengers remain aboard the ship for accountability purposes. The last thing we want to do is have someone get left behind in St. Maarten by accident."
The Coast Guard was notified by Carnival that the Dream was experiencing generator issues. Carnival has not requested assistance from the Coast Guard, which has no jurisdiction in the ship's current location, Coast Guard Petty Officer Jon-Paul Rios told CNN.
The Dream, based in Port Canaveral, Florida, was on a seven-day cruise.
It was scheduled to leave port around 5 p.m. ET Wednesday.
Five things we've learned about cruising
'Human waste all over the floor'
Gregg Stark, who is traveling with his wife and two young children, told CNN, "There's human waste all over the floor in some of the bathrooms and they're overflowing -- and in the state rooms. The elevators have not been working. They've been turning them on and off, on and off."
An announcement over the ship's public address system said the crew was trying to fix the problem and was working on the generators, according to Stark. A few hours later, another announcement was made, saying the problem was worse than originally believed.
After a bad cruise, can you cruise into court?
On Wednesday night, despite complaints coming in to CNN, Carnival representative Vance Gulliksen said he wasn't aware of a problem. Several subsequent calls to the cruise line went unanswered.
The Dream, which can carry more than 5,000 passengers and crew, sailed from Port Canaveral on Saturday.
Last month, an engine room fire left the Carnival Triumph crippled and adrift in the Gulf of Mexico with more than 4,200 people aboard.
Crippled cruise ship returns; passengers happy to be back
That scheduled four-day cruise stretched into eight days as tugs pulled the vessel into port in Alabama. Food was scarce and passengers sweltered in the heat with no air conditioning. People aboard also reported overflowing toilets and human waste running down the walls in some parts of the ship.
A class action lawsuit was filed against Carnival Corporation in the aftermath.
How Carnival can clean up the PR mess
You may also like...
Sinkhole Tragedy: Man sleeping in bed swallowed by sinkhole
That's NUTS! Squirrel causes massive outage at Tampa water plant
Faces of Meth: Before and After pictures
Mommy no-no: Mom arrested for going to school assembly - TOPLESS!
Sex tape scandal: Miss Delaware Teen USA resigns
Prostitute Roundup: 78 arrested in online sex sting
Upload error: Lawmakers consider restrictions on posting naked pics online
Neigh! Video shows man brutalizing, having sex with horse
Shake it: Harlem shake - 10 News style...
Sex blog: Tampa area school CFO busted over her dirty sex porn blog *warning, GRAPHIC*
Spring Breakers: Movie shows seedier side of Tampa Bay
BUSTED: Woman apologizes for flipping off judge *warning, GRAPHIC*
Nasty Nasty Dining: 10 of the nastiest restaurants in Tampa Bay in 2012
Cover Girl: Kate Upton back on the cover of Sports Illustrated
APP-tastic: Download the 10 News app for your iPad
Yowtch! Teen accidentally shoots off his penis, testicle
Bikini Photos: 2012 Hooters International Swimsuit Pageant
Money Mondays: How you can search for unclaimed cash
Sex Offender Mugshots: Look up Florida Sex Offenders here
Bikinis, mud, trucks: The Redneck Yacht Club
Photos: Ex-Charlie Sheen Goddess Bree Olson
Naughty Schoolgirls: Naughty schoolgirl night at Tampa club pictures
Outrageous mug shot galleries...
Strange: Some of the most unusual mug shots we've seen
Notorious Women: Bad girls behind bars
Teachers: Teacher arrest mugshots
Celebrities: The rich and famous have their own booking photos
Jaw droppers: Open mouth mug shots
Laughers: What's so funny mug shots
Prostitutes: Prostitute mug shots
Athletes: Professional athlete mug shots
Porn arrests: Child porn arrest mug shots
Local Mugs: Hillsborough County Mug shots
More unusual mug shots and galleries: 10 News slideshows and galleries
Ed Payne and Josh Levs, CNN