This may not be the safest way to tie up your unruly headphones, but it might be the easiest. (That is assuming you don't have the Mophie case for shuffle.) "This is how I put away my mp3 player," says the video maker, woosh3. "This way I do not have to deal with inextricable knots next time I want to use it."
Watch and learn. Watch learn.
Disclaimer: This may increase the chance of fracturing the inside cables which is bad for your headphone cord.