When the handle comes off, the little door is pulled over to the other tab and a lock goes on to keep someone from pumping after hours. When the door is closed it actuates a lever that is connected to a valve at the bottom of the jar that then drains the left over gas back down into the tank.