As Pole King suggests, it's syphonic action. After you turn the pump off, make sure the end of the hose is fixed above the level of the water in the tank. To be really safe, lift the whole of the pipe above the water level and allow the water in the pipe to drain back into the tank.
You could also fit a stop valve at the delivery end.