mary.poppins asked about "stop loss", which is the armed services involuntary extensions of contracts in times of a declared national emergency. The president declared such a state of emergency after 9/11.
At that time, a lot of people got stuck in the military no matter what their contract said. I would have been able to get out in a couple months, but realized I would not be able to so I voluntarily extended my contract for three years.
After a couple of years, most of stop loss was gone, but certain critical skills areas, such as military police, stayed under stop loss. As far as I know, I will still be under stop loss for at least 90 days when I get back.
Soldiers have reacted to this like anyone would when told that they have to keep working for several more years at a place they want to leave, but, if we are going to fight a war (whether you agree with it or not), the way to win is to keep the experienced people from leaving. If you are in the military and you do not realize the government literally owns you, you did not read what you signed.
 If you get a bad sunburn, for instance, you can be charged under the Uniform Code of Military Justice, Article 108: Damage To Government Property. I kid you not.