Agreed. If someone wants to shoot you, they'll just come up and shoot you. If they're pointing a gun at you they either want something from you, in which case you comply, or they want to move you to a different location to do something to you. The statistic are staggering when your location is moved, you're not going to make it out alive & it's better to risk getting shot at trying to do a gun defense than going with them. With gun defense, once you redirect the muzzle the gun basically become inert as long as you can control the muzzle direction. If it's a semi handgun and you redirect (i.e. grab the barrel) the first shot will most likely go off and if it does, the gun won't cycle which means the perp now has to rack it to be able to shoot again. If you're able to control the gun/gun arm and they can't rack, you can rain down head butts, knees, groin kicks etc. and even try a disarm or disengage and run. By the time they rack & shoot at you fleeing, which likely they won't, you'll at least have a chance. None of this is perfect but you stand a better chance trying something if they're trying to move you than complying & going voluntarily, particularly if you're a woman. Never ever ever let them cuff/restrain you; you're going to die anyway so might as well die fighting.
W/ knives it's much harder to do an effective defense because the knife is always there and even if you have some control of the knife it can still do damage. When someone is repeatedly stabbing it's hard to get control of that arm versus gun where once the muzzle is pointed away from you it can't do much harm.
Here's a funny vid re knife defense that sums it up nicely:
View: https://www.youtube.com/watch?v=kvlrnc7hlQI