It is better not to plan a longer trip during medication. Talk about shorter trips in advance with your nurse. That way your health staff can plan your medication in advance so that there will be no breaks.
Your TB treatment lasts for a limited time only. When you are healthy, you can travel again.