Your car will be absolutely fine. It is not a true comparison, but consider it an in-flight refill.
Be super careful regarding fire hazard like: cell phones, and anything.
In any case the gas station will be pissed because you don’t respect their procedure and safety guidelines.
I have done it some 30 years ago with a car that had been submerged / flooded but could start 1 time after . It was a benz, the people at the station were not superhappy, but understood the situation.
I have a hard time believing it, but it is to avoid static and sparks if you drop it.