Not a generic answer as not applicable for all cars and if it is not specifically to the engine only;
In my audi, blower/fan turns on as soon as ignition is turned-off.
It is powered by Solar-Roof. (Condition: Car should be parked in sun-light and sunroof should be closed)