To get out of the military, you need to be discharged. Unlike many other positions, you cannot simply just quit the military once you are on active duty. You may choose to finish out a contract and then not renew, or you can get an early discharge if you do not want to wait or cannot wait for a contract to end.