You could try salvaging the mods, but each time you do there is a 50% chance that the weapon will be destroyed. Why do you want to remove the mods? If it is to put other mods on, just go ahead a do that, as the current mods will be replaced with the new ones.