The island’s frail electrical system struggled as the storm passed on Wednesday.