demobilize

verb

Take (troops) out of active service, typically at the end of a war.