Some of the newer tracking allows you to remove the door (and re-hang) w/o having to remove the moulding. I don't know of any tricks. You either have to remove it or you don't.
Also, if you end up having to take off the moulding, I'd consider going out and buying a track that allows you to remove the door (next time) w/o having to remove the moulding. Since you may end up taking off the moulding this time, why not eliminate any future 'issues' by replacing the existing tracking while it's off? Just a thought.