To disarm. If you disarm an opponent, you take their weapon away from them.
The word works literally — knocking a sword out of someone's hand — and figuratively, as in disarming a bomb or disarming an argument with a joke. Same core idea in each case: removing the means to cause harm.