Google says don’t disable your site, even during temporary closure

To help business owners preserve their visibility in Google search, Google has published recommendations on how to properly limit your site’s functionality if you need to pause operations.
Source