Actually, and at the risk of stating the obvious, the fan only comes on because the Coolant-Temperature Sensor has detected a temperature that exceeds a pre-determined, pre-set parameter. The fan is then automatically activated and is designed to stay on until the coolant temperature is restored to somewhere within its "normal" operating range.
Now, and normally, the coolant will remain in its liquid-phase so long as it is circulating through the engine core, but from the moment that an overly-hot engine is shut-off, the coolant within the engine core will continue to absorb heat and, if it's already near its boiling-point, it will "two-phase" (go from a liquid to a vapor), causing the pressure in the cooling system to increase rapidly, which causes the pressure-relief valve to "pop-off" and release some vapor and coolant into the coolant reservoir. As the non-running engine continues to cool, the pressure in the system will continue to drop, to the point that a low-pressure condition will develop and liquid coolant will then be drawn back into system from the reservoir, restoring everything to normal.
In the strictess sense, it would always be operationally optimal, when reaching a destination, to allow the engine to continue to run, at idle, until the fan kicks-OFF; especially on a really hot day when the fan has been running continuously just before you shut the engine down. I say this realizing that most of us (myself included) lack the patience to stand there beside our idling machines, waiting for the fan to shut-off. When I come home to my garage and park, if the fan is running, I'll leave the engine running while I take my riding gear off. By then, invariably, the fan has shut-off and I can kill the engine.
It's unfortunate that Honda's engineers didn't elect to allow our fans to keep running after a "hot-engine-shut-down" (a la most car systems), but I can only speculate that they did this in the interest of saving our already-marginal battery power; what's a properly-cooled engine worth if you don't have enough cranking-power left to start it! Just another example of the kind of compromises that oft-times enter into the design process.
Anyway, my two-bits, FWIW.......................
Cheers