The nation closes nonessential businesses, halts tourism and moves schools online as it battles rising infections.