The abruptly interrupting the water flow can cause water hammer in the pipeline. This is undesired effect specifically in special equipment (hydraulic ram) to raise water to a higher level.
Hydraulic Ram-Pumping Using Water Hammer trainer (FU-021) can be used to demonstrate the formation and effect of water hammer and to study how a hydraulic ram works.