What happens to armor and weapons

When a guard or soldier is relieved of duty, say to lower the count and add them back to the labor pool, what happens to their equipment? If I increase the count later, do they come back with those items or as in the case of a death of a soldier, are the items just lost?
I’m always afraid to decrease the count to increase the labor pool just for this reasonable question.

From what i have seen, items always stay, when you send a guard away to the labor pool then you will get his equipment back say a crossbow or bow crudeweapons and swords, soldiers also give back their hidecoat when they get a hauberk armor, items only disapear when they are worn out.

The only thing im not sure of is how long things last in game like shoes have a life span and also bows and swords, i have not seen a hauberk that was almost wornout.

I also send guards of duty some times without any problem, with soldiers i dont do that because you lose some money (recruitment cost) to me its not worth the few coins you gain over a year, The only thing i noticed is that when lets say a guard or hunter has a sword and crossbow and you dont have any weapons left the soldiers may end up with crude weapons and a bow, when that happens i just shortly take away all the hunters and guards until the soldiers have all the good stuff and then i put the hunters and guards back on duty.

I have seen soldiers die and drop their hauberk and sword i did not lose them but he died bacause of
an illnes im not sure what happens when for instance the barracks gets destroyed or he died in combat.

When barracks get destroyed - it’s like you move them back to labor pool - I’m pretty sure their armors and weapons don;t disappear. But if they die in battle, equipment is lost.