As the Centers for Disease Control and Prevention and the State Department continue to urge Americans to avoid cruise ships, and with a ban on much travel from Europe set to begin on Friday, the cruise industry reversed course this week and began suspending sailings.

On Wednesday, Viking said it was temporarily suspending operations of river and ocean cruises, for embarkations taking place between March 12 and April 30. On Thursday, Princess Cruises announced it was voluntarily suspending all 18 of its ships for two months; the company has canceled departures scheduled between March 12 and May 10.

“It is our intention to reassure our loyal guests, team members and global stakeholders of our commitment to the health, safety and well-being of all who sail with us, as well as those who do business with us, and the countries and communities we visit around the world,” Jan Swartz, president of Princess Cruises, said in an emailed statement.

Two of the company’s ships, the Diamond Princess and the Grand Princess, have been quarantined, with numerous passengers becoming infected.