Last week, the governor and mayor made emergency declarations barring gatherings of more than 500 people. That effectively shut down everything from museums and libraries to stadiums. Monday night brought the end of services on the premises of bars and restaurants. With officials encouraging anyone who can to work from home — and reports of layoffs growing — city life has ground to a halt.