The driver is safe after climbing on to the car roof due to the height of the tide, the RNLI says.