The storm’s winds equaled those of a Category 4 hurricane, and residents were told to stay indoors to shelter from destructive winds and flooding.