I have an idea. How about retrieving it automatically to the inventory, but sort of graying it out, and then when the player clicks on it, it costs so an so APs to actually get it back? Visually, the weapon would be knocked out of your hands to the ground, and you could pick it up manually...