Dear @Harini,
The way your physician handled your case was perfect. If you have an active viral load you should normally be followed every 6 months post partum anyways. Your 6 week visit post partum after stopping TDF was to catch any rapid change in your infection after stopping TDF (which is not so common).
Guidelines for the use of TDF during pregnancy are published in several locations.