To unwind or untwist (something).
To unwind or untwist oneself.
To reverse the process of entanglement