No it wasn't based upon what was happening in places like Wuhan China and Italy to name a couple.
There could have been a situation of governments making it law for everyone to wear a mask when doing things from out their homes, but the fact is the virus can transgress through masks by aerosol transmission into people eyes, this is why there were over 60 doctors in Italy who died from treating people with the virus. The original doctor in Wuhan who was trying to alert the Chinese government died and he was wearing a mask treating patients.
The decision to shut down was calculated by these factual effects relating to transmission.