Kelly Valves-Upper  & Lower Kelly Cock 

 are manually operated valves that run above and below the kelly to shut off back-flow in the drill stem in the case – Upper Kelly Cock – Lower Kelly Cock The valves are manually operated with a dedicated wrench.

This is a limit for quick intervention.

The Top drive system has eliminated this with remove control operated valves.