Pool cleaning apparatus comprising: - a body which can be immersed in a liquid of the pool, having: • at least one liquid inlet into the body, • at least one liquid outlet out of the body, - a device for driving the body in the pool, - a liquid pumping device (21, 26, 33), - a hydraulic circuit which is adapted to be able to ensure, when said pumping device (21, 26, 33) is active, a circulation of liquid between at least one liquid inlet into the body and at least one liquid outlet, called pumping outlet, out of the body, through at least one cleaning device, - a monitoring device which is adapted to be able to provide electronic monitoring signals, - an electronic signal processing unit which is adapted to be able to: • receive and analyze the signals supplied by the monitoring device, • control the liquid pumping device (21, 26, 33) in accordance with said signals supplied by the monitoring device, characterized in that: - the monitoring device is adapted to be able to provide at least one electronic monitoring signal, called an output signal, which is representative of the body being removed from the liquid, - the processing unit is adapted for: • being able to detect an output signal from the signals supplied by the monitoring device, • on detection of an output signal, maintaining the pumping device (21, 26, 33) in an active state for a non-zero predetermined period of time, called emptying time, in order to allow at least partial active emptying of the hydraulic circuit during this emptying time after the body has been removed from the liquid, • stopping the pumping device (21, 26, 33) after the emptying time. - a body which can be immersed in a liquid of the pool, having: • at least one liquid inlet into the body, • at least one liquid outlet out of the body, • at least one liquid inlet into the body, • at least one liquid outlet out of the body, - a device for driving the body in the pool, - a liquid pumping device (21, 26, 33), - a hydraulic circuit which is adapted to be able to ensure, when said pumping device (21, 26, 33) is active, a circulation of liquid between at least one liquid inlet into the body and at least one liquid outlet, called pumping outlet, out of the body, through at least one cleaning device, - a monitoring device which is adapted to be able to provide electronic monitoring signals, - an electronic signal processing unit which is adapted to be able to: • receive and analyze the signals supplied by the monitoring device, • control the liquid pumping device (21, 26, 33) in accordance with said signals supplied by the monitoring device, • receive and analyze the signals supplied by the monitoring device, • control the liquid pumping device (21, 26, 33) in accordance with said signals supplied by the monitoring device, - the monitoring device is adapted to be able to provide at least one electronic monitoring signal, called an output signal, which is representative of the body being removed from the liquid, - the processing unit is adapted for: • being able to detect an output signal from the signals supplied by the monitoring device, • on detection of an output signal, maintaining the pumping device (21, 26, 33) in an active state for a non-zero predetermined period of time, called emptying time, in order to allow at least partial active emptying of the hydraulic circuit during this emptying time after the body has been removed from the liquid, • stopping the pumping device (21, 26, 33) after the emptying time. • being able to detect an output signal from the signals supplied by the monitoring device, • on detection of an output signal, maintaining the pumping device (21, 26, 33) in an active state for a non-zero predetermined period of time, called emptying time, in order to allow at least partial active emptying of the hydraulic circuit during this emptying time after the body has been removed from the liquid, • stopping the pumping device (21, 26, 33) after the emptying time.