Refrigerant can’t legally be released into the air or left in a unit headed for the tip. Decommissioning means recovering it properly, then removing the indoor and outdoor units and making good any fixings left behind.
This is usually booked alongside a new installation, but stands as its own job if you’re just clearing a unit that’s reached the end of its life.