@cgallery You typically want to enable relative (G91) motion mode before a probe and restore absolute (G90) after. Absolute is the default mode when you start grbl. In your macro above, you are probing to work position Z-25, not probing down 25mm. In some cases your previous work zero will be well above your probe which may be a cause of the Z moving up TO that location. Don’t forget the G90 when you’re all done probing, though. That Z10 at the end of your macro will only move up 3.68mm because you’re in absolute mode.
Also, it seems to be good practice to add a dwell (G4) before and after the G10L20 as it takes time for the controller to store that info in eeprom. I usually use G4P0.25 for a quarter second pause before and after.