You drove and pulled up to the gas station to fill your gas tank. You exited your vehicle, opened your gas tank cover, grabbed and put the dispenser nozzle in. You also had to pay at some point.
How can you forget that the hose is still connected to your car when you drive off?
A lot of pumps in the US don’t shut off until the nozzle is placed back on the hook, at least if you pay at the pump. It’s possible that the pump could shut off if you prepay with cash and it hits the amount that you paid, but that’s not as common these days. It used to be possible to pay with cash after pumping, but that’s basically been phased out.