Where do you put G80?
Immediately after the last hole in the series and before any move that is not another hole. The normal thing is to write it next to the retract, in a G80 G00 Z50. M09 block, and to repeat it in the safety header block of every tool as well.
What happens if I forget the G80?
The cycle stays active and the next block with an X or a Y drills another hole at that position. If that block was a traverse over a clamp, the vise or the fixture, the result is a broken drill, a drilled fixture or both.
Does G80 cancel cutter compensation?
No. G80 only affects the canned cycle group. Cutter compensation is cancelled with G40 and the length offset with G49. That is why the safety block carries all three together: G40 G49 G80.
Do I need G80 if the next block has a G00?
Technically no, because on Fanuc and Haas a code from the motion group cancels the cycle. But the explicit G80 makes clear where the operation ends and protects the case where somebody starts the program from a block in the middle, which is when accidents happen.
Does G80 clear the depth and the R plane of the cycle?
Yes: cancelling loses the remembered cycle values, Z, R, Q and P included. If you need the same cycle later on, it has to be written out in full again. The F feedrate, on the other hand, stays modal and is kept.