When you leave active duty after serving more than 30 days, you deactivate. Your coverage depends on whether your time was for a preplanned mission or in support of a contingency operation. Learn more at
https://www.tricare.mil/LifeEvents/Deactivating.