Commonly, while patients have the breathing tube, they are given medications to keep them sedated and comfortable so breathing does not bother them. These medicines are often stopped before the spontaneous breathing trial so they can be more awake for the test.