Shark gets taste of its own medicine