They even use backflow preventers on household garden hose fittings.
I use a spray nozzle and turn it off before turning off the water, I get sprayed when I turn off the water because the pressure in the hose is greater than the closed connection.
A simple representation, but if the pressure...