Yes, you can turn off accepting orders by heading over to the Storefront menu tab and unchecking the boxes for Accept Deliveries and Accept Pickups.
Alternatively, you can uncheck the days you're available for pickup and delivery by heading over to the Hours tab.