The hatting kill well method is a method of killing a well when a blowout occurs in the middle of a trip, used when part of the drill string is still in the well and there is no time, or no way, to make up the kelly and swivel. The "hat" is a control valve with a threaded sub that is quickly installed on the drill string in the well; once it is in place, the well can be killed by direct circulation of high-density drilling fluid at a high flow rate.
For the general concept of well killing, see well killing; for the inside blowout prevention tools on the drill string, see drill pipe float valve.