g98 will retract the z to the level where you started the canned cycle.
so everywhere you have a screw, put g98 before the move and then it will go
back to g73
M6 T3
M03 S3200
M8 (Flood On)
G00 G43 H3 Z7
g98
G73 X5 Y40 Z-7 Q1 R7 F76
X15 Y40
X25 Y40
X35 Y40
X45 Y40
X55 Y40
X65 Y40
X75 Y40
X85 Y40
X95 Y40
X105 Y40
X115 Y40
G80