demobilization

In the context of warfare, demobilization refers to the process of transitioning military personnel from active duty back to civilian life, typically after the end of a war or armed conflict, or a specific military operation.