The losing general proposes to effect a "cease fire" by giving his soldiers discharge papers (or absent papers, a "token") that the enemy agrees to honor, signifying that the soldiers will no longer fight. The soldiers will hand in their "army" weapons to be turned over to the enemy, but will be allowed to keep personal weapons (e.g. hunting knives) for food-gathering. The officers will remain to effect the transfer.
I noted with interest, that one of a unit's options in the computer game Braveheart was for the commander to "surrender self." That would effectively disband his unit and stop the fighting. The winning side would be spared 1) further fighting and 2) the necessity of "looking after" a large number of prisoners of war.
So has this kind of disbandment ever been effected at any time in (recorded) real life history? I believe this arrangement to be "intermediate" between outright surrender, and withdrawing with "honors of war." In the latter case, the losing side forfeits its ammunition, bayonets and heavy weapons, but is allowed to march out of a surrendered position such as a fortress with say, its muskets (perhaps with their firing mechanisms disabled, and banners. Unlike my "disbandment" case, the losing army remains a cohesive fighting unit, or will be, once rearmed and refitted.
This question was inspired by this one.