For the most part yes. If I catch one on a ship I stay away from other people.
To be completely honest would I cancel a cruise if I had a cold, probably not. But I'd certainly take precautions to not spread, like no MDR, Bars, Theater, Casino, Excursions while I was not feeling well.