Get one of those retractable reels used for ID badges that people need to scan all the time (e.g. anyone working with prescriptions in hospitals or pharmacies). Attach it to an appropriate spot on the cord with a zip-tie.
Or you can go even simpler and zip-tie a string to it. Route the string over a eye hooks or pulleys and weight the other end. Same effect as a retractable reel.