One useful thing to remember is that a triggerfish sees it's territory starting in a small area around its nest and rising to the surface of the water in an inverted pyramid shape, so the territory covers a much larger area nearer the surface. Many people make the mistake of swimming upwards to escape the wrath of the crazy fish that's trying to chew their fins off, but to the triggerfish it appears that you are getting further from leaving, and it will re-double it's efforts to persuade you. Stay low and swim horizontally. You should then be left alone quite quickly.