Yes, but you have to be willing to fight.
Often, it’s about getting to land so that you can make sure that your wounds are taken care of.
If you’re being actively attacked, try to gouge its gills or eyes so that you can stun it enough to swim away.