If for some reason you get in a fight with one or more trikes just go in the water. If it is deep enough for it not to be able to walk on the seabed it should stop chasing you.

More Triceratops Encountering Tips