Trying to leave the military is known as attempted desertion. Consequence of desertion include dishonorable discharge, forfeiting your pay packs and confinement of 5 years.