Let's not forget second or third order effects. A restaurant isn't just a restaurant: it involves a lot of other parts of the economy (for example, maintenance, supplies....).
So, the moment you shut down something "nonessential" you're actually hurting also other, apparently unrelated economic activities.
IOW, it might end up hurting also those providing "essential" services.