Can I "reset" the balance in my Capital Account in a Publicly Traded Partnership?

I have a Traded Partnership (PTP) from which I have received enough distributions and tax losses to drive my capital account close to zero.  If I sell my PTP in December, and buy it back in January, will that "reset" my capital account to the January repurchase price?  If so, do I have to do this at year end, or can I just completely get out of the PTP and then buy back in at any time throughout the year to reset the capital account?  And, how long do I have to be out of the PTP before I can buy back in to reset the capital account?  (Note that I am asking only about the capital account.  I understand that I may realize ordinary income and capital gains from the transaction.)