Use a ball valve to stop the flow of fluid without turning off the pump. Commonly used between hoses.