This is not how you want your cruise-ship vacation to go viral.

More than 4,000 passengers fled a Royal Caribbean liner in Bayonne, New Jersey, on Friday after their Caribbean cruise docked there amid a coronavirus scare — and four passengers were rushed to the hospital for testing.

The four suspect passengers were all Chinese nationals who had recently traveled from home. They included one who fell ill with a fever on board and later tested positive for influenza.

Some of the patients were wheeled off the vessel on gurneys, and all four were immediately taken to University Hospital in Newark by infectious-disease experts from the federal Centers for Disease Control for testing.

Another 23 passengers — Chinese nationals who had been kept in isolation during much of the 12-day cruise on the Anthem of the Seas — were also whisked away by CDC officials, who had boarded the vessel as soon as it docked.

They were taken to Newark Liberty International Airport for a flight back to China, as per a Trump administration directive amid the global outbreak.

No one aboard the ship is known to have the coronavirus, but that was no consolation to many passengers, who complained that crew members kept them in the dark about the threat in their midst.

“The actual 12 days on the ship were wonderful,” said a passenger who asked to be identified only as Al. “Today, it all fell apart.”

Al and other passengers said they heard about the coronavirus scare through phone calls from worried relatives or by seeing reports on television or online.

“They totally lied to us,” Al said of crew members. “They said, ‘The whole article is fake news.’ ”

Still, there were clues that something was amiss during the voyage, passengers said.

“We saw a couple of Asian people walking around on the ship with masks,” said Sue Millais, 72, of upstate Johnstown.

“The couple we sat next to said they noticed that they had seen some Chinese people with masks on and they looked like they weren’t feeling well. They should have never let them on.”

Eileen Burnley, 74, of Denver, said, “We had all kinds of precautions on the ship” that were never explained.

“We couldn’t go in the dining room without washing hands. We couldn’t go into large venues without washing hands,” she said.

“I have grandchildren I take care of. It’s terrible,” she said. “Now I put them at risk.”

Andrea Loshen, 67, a retiree also from Denver, was shocked to see the welcoming party of emergency vehicles as the boat docked in Bayonne.

“We are cautious, and we are going home,” Loshen said. “We will be worried about how we feel — any little tickle in your throat will make us wonder.”

Meanwhile, another few thousand new passengers arrived at the docks of Bayonne on Friday to board the Anthem of the Seas for their own cruise to the Bahamas — only to be told to come back Saturday once the CDC gives the ship its final all-clear.

“Are they going to keep the same staff on the ship?” one of the turned-away passengers, Dan Giguere of Lewiston, Maine, asked aloud. “Are they going to bring in new staff? That’s my worry.”

The Royal Caribbean cruise line announced on Friday that it would be heightening its already stringent ship-sanitation practices and would ban any guests with Chinese, Hong Kong or Macau passports from boarding until further notice.

The novel coronavirus has killed at least 719 people so far, almost all of them in China; the total number of confirmed cases is more than 33,000.

Only 12 cases have been confirmed in the US. No one in New York or New Jersey has tested positive, but two people are being monitored in the city.