Whenever I have needed to do this I invariably end up in a frustrated tangle and find it much easier to re-thread the rail with it taken down and placed on the floor or kitchen counter top - then put it back and test it - then re-hang the curtains.
Good luck...
Peccavi, December 2009