Well, easiest way will be to make your self an ineficient lazy indisciplined and useless member of your unit and then apply for voluntary discharge , your commanding officer will be too happy to sanction your discharge. Jokes apart, most armies including Indian Army allow voluntary discharge on genuine grounds like family problems , illnes and even change of profession . There are numerous examples of armed forces personnel who have been granted premature discharge .Indian army does not like to retain unwilling and demotivated personnel, or come in the way of personnel with talent in some other field like sports persons singers etc . In my unit a soldier distinguished himself as a Singer in Indian idol competition and now he is a professional Bollywood singer. However if you have been trained in some special skill by the armed forces or have attended some technical course in the armed forces recently, then there will be unwilling ness to allow premature discharge . you may be asked to pay the cost of your training to the Govt before you are discharged . Under the Indian law , if a member of the Indian armed forces wants to stand for parliamentary or state assembly elections then he has the right to immidiate discharge from armed forces and provided you previdence of your intention , you have to be allowed to go . There are large number MPs MLAs and Ministers in India who have taken early discharge from armed forces. To summerise if you have a genuine ground your application on plain paper to your commanding officer is likely to be accepted unless you are a specially skilled indispensible person or your unit is engaged in operation or any other important activity at that timeIndian armed forces are a voluntary force and generally do not like to retain unwilling demotivated persons ..