You must not discontinue medication under any circumstance. The fever may have nothing to do with medicines. It can be due to other cause or even due to TB.
Please make sure that you take good brands of anti-TB drugs manufactured by reputed companies. There are too many substandard brands in the market.