Is sheltering in place a good idea in a hurricane?

Due to the pandemic, more people might be less likely to evacuate to a shelter before a hurricane, but is it ever a good idea to stay home when the storm hits?