During the production of gas wells, when situations such as blockage of surface pipelines or failure of throttles occur, the pipeline pressure will rise, which may lead to overpressure in the surface pipelines and pose significant safety risks. When pipeline corrosion or accidental damage causes leakage, it will result in a decrease in wellhead pressure. Installing an emergency shut-off device at the wellhead can effectively prevent overpressure at the wellhead from damaging downstream pipelines and avoid safety accidents caused by pipeline leakage.