Restaurants aren’t being shutdown, they can’t have indoor dining (and in some cases they can’t have outdoor dining) but they can still have takeout, delivery, etc.
There are several coffee shops in my town but of the 2 that I frequented the most, one of them closed permanently in March and said “we can’t survive! Whaaaaa poor us” and the other paid to have a custom app created and put up numbered signs in the parking lot so you can order from your phone and they bring it out to your car. They also have been running sales for at-home brewing equipment (chemex, aeropress, etc.) and posting recipes for their most popular drinks.
They seem to be doing fine, they even gave away all of their profits last Tuesday to a local charity and thanked the community for their support.
But please, go on about how I lack a fundamental understanding of business.