My manual says different
I've often wondered why boaters do that. My manual (Yanmar Manual) says to let the engine (1GM, 2GM, 3GM, 3HM)idle for 5 minutes after pulling in. This will allow it to cool down from the "bursts" that are used when docking. The bursts will drive the temp up, thereby, requiring cool-down.