Macau planned to shut its casinos, and a technology hub near Shanghai unveiled severe restrictions on residents’ movements, the latest in a series of extreme measures that governments have taken to combat the fast-spreading new virus.

The number of confirmed cases of the coronavirus rose above 24,000 by the end of Tuesday, and Hong Kong reported its first death from the virus, which has killed at least 492, all but two of them in mainland China.

Japan said Wednesday that 10 people on a cruise ship with about 3,700 passengers and crew aboard tested positive for the virus, and the health minister said everyone is likely to be kept on the ship for two weeks.

The Diamond Princess has been quarantined since Monday night in Yokohama, a port city just south of Tokyo, after an 80-year-old man from Hong Kong who had been on the ship tested positive for the virus. The man disembarked in Hong Kong and is no longer on the ship.