There are certain items that don't lend themselves to being hung on hooks, like towels, scarves and winter hats; mine like to stay on the hook for the first 30 seconds, but later I'll return to find them on the floor--which led to my dogs destroying my favorite rabbit-fur head-heater, which I purchased in Sweden. Sigh.
Ironically, the solution to this also comes from Sweden. Homeware manufacturer Linden Sweden sells the Clever Hook you see pictured above. It's tough to understand how it works by looking at a still photo, so watch this short vid:
Nifty, no? And no, the thing ain't motorized; check out the X-ray view to see how the clever design relies on gravity to close the latch, and the absence of gravity to open it.
Ten bucks on Amazon.