As you know, it's the TB bacteria that caused your TB condition to start with (as "inactive TB"), and smoking + drugs probably contributed to the weakening of your body that allowed the bacteria to prevail ("active TB").
When TB won, it began damaging your lungs, which resulted in the pain symptoms you describe.
Since you've been medicating, we can assume that the TB bacteria have been eradicated, and your lungs started their slow recovery.
Now that you've re-started smoking, you may have slowed or stopped that recovery; it's the reason you're feeling the same pains.
Per se, you don't have TB any longer but you still have damaged lungs. All of us who've had medication are free of the TB; we do have remaining the damaged lungs.
I would think the solution is to stop worrying about the TB and resume the recovery regimen (no smoking/adequate sleep & rest/proper nutrition/sun & exercise).
I have other posts here about my experience as a TB survivor; it's taken me almost 4 years of the recovery regimen I speak of to approach a normal state.
Heal those lungs by giving them healthy air