To release someone from military duty, especially after a war.
To disband troops, or remove them from a war footing.