You can lure them to shore by standing a little ways in the water (deep enough that they start to drift towards you) and when they're close, back out and shoot/stab them. This way you can harvest biotoxins without getting yourself or tames killed from their shock attack.

More Cnidaria Encountering Tips