Short answer: you don't keep them. Getting disarmed is part of the story progression, not a glitch.
Early in the game your equipment is stripped away, and you have to earn it back one piece at a time. Each successful assassination returns a tier of your arsenal. The basic tools come first — the hidden blade, then the standard sword and throwing knives — and the heavier, more effective weapons follow as you climb the ranks of the Brotherhood.
So if you are missing gear you had an hour ago, keep taking contracts. The armoury refills itself as the plot demands.