And then shut the whole country down and pray that it would spread fast and worse elsewhere?
Let's just say that back in early February nobody even in China thought that other countries are going to be affected. It is a disaster for the CCP at the time that had popular opinion on the internet swing suddenly and violently against the government.
Now, seeing how other countries reacted, that suddenly was not the case anymore. And the CCP have no ability to control other countries action.