Hmm...what if the harpoon gun has a very thin, very strong wire that is attached to the harpoon? The line will automatically disentangle itself from any enemies and draw the harpoon back into the gun.
If that's not enough, never discount singing fish/hypnotic fish/whatever you think the fish could do.