I disagree. The captain of the ship relinquishes control to the pilots from the port authority because of their knowledge of the port at hand.
If there was a sandstorm with strong winds that pushed the ship aground what could the captain do? Dismiss the pilot and gain control of an already out-of-control ship? The pilots know more about this area, so before the point of no return the captain, I'd imagine, would trust their judgement. Remember: pilots from port authority's are experts about the ports they pilot through.
Also, the pilots are not meteorologists and even if they were how many times does your local weather station, or mine, or anyone else's, get the weather forecast wrong.
Huge ships of this size have so much momentum that I'd imagine as a captain or a pilot or anyone else who works in the bridge concerning the ships movement has to plan dozens of minutes and kilometres in advance. Want to stop the ship? That requires about 3 Km of runway. Want to turn around? About a 2 Km radius of turn space required. That's a lot of planning. By the time the ship is definitely running aground it's too late to do anything about it and before then the best the captain can do is "umm" and "ahh" every decision the pilots are making.
Yes there should be an insurance claim but it's not against the Ever Given it should be against this freak weather event much like how if a tornado blows a house down you have a claim for a natural disaster and not a claim against your local council you live in.