To close the valves at the top of a well bore. To stop flow out of, or injection into, a well bore.