How do you remove freon from a window AC unit?

my first response is why?...if you are not a trained technician, refrigerant gas can be potentially a dangerous substance. it is under high pressure and can cause burns!!..if the unit is not cooling properly, you have to figure out why. is the filter and or coil dirty? is the unit too small? the thermostat not working properly? these and other questions must be answered before you delve into the refrigerant gas!!...hope this helps!! you have to install a inline valve on the line it will install without loss of freon then you can pump the freon out.