untangle

To separate things that are twisted or knotted together.