You searched for:
“demobilize”
demobilize (verb), demobilizes; demobilized; demobilizing
To take military troops out of active service, typically at the end of a war: Jim was a veteran who was demobilized, or released, from martial duty at the end of World War II, which was a war that lasted from 1939 to 1945.