California, besieged by the coronavirus, is ordering many residents to stay home.