Certainly. Here’s an abridged log from a normal stop and a stop when already against the Z limit switch. (The listings are in inverse chronological order as displayed in the log window, which bugs me, but hey, consistency…)
Normal Stop:
(6134): -> $h
(6133): -> gc_homing
(6132): <- ok
(6131): -> N0 G4P0.005
(6130): -> gc_wait_for_idle
(6129): -> gc_check_limit_switch
(6128): <- ok
(6127): -> N0 G4P0.005
(6126): -> gc_wait_for_idle
(6125): -> gc_backoff_limit_switch
(6124): <- ok
(6123): -> N0 G4P0.005
(6122): -> gc_wait_for_idle
(6121): <- <Idle|MPos:-50.175,-46.525,-17.450|Bf:14,128|FS:0,0|WCO:0.000,0.000,0.000>
(6120): <- Grbl 1.1f ['$' for help]
(6119): <- ok
(6118): STATE: SET MACHINE STATE: INIT
(6117): -> GRBL_RESET
(6116): -> GRBL_FEEDHOLD
Stop against Z limit switch:
(5447): -> $h
(5446): -> gc_homing
(5445): <- ok
(5444): -> N0 G4P0.005
(5443): -> gc_wait_for_idle
(5442): -> gc_check_limit_switch
(5441): <- <Idle|MPos:-53.700,-46.525,-27.450|Bf:14,128|FS:0,0>
(5440): <- ok
(5439): <- <Run|MPos:-53.700,-46.525,-27.225|Bf:13,128|FS:167,0|WCO:0.000,0.000,0.000>
(5438): <- <Run|MPos:-53.700,-46.525,-26.200|Bf:13,128|FS:300,0>
(5437): <- <Run|MPos:-53.700,-46.525,-25.175|Bf:13,128|FS:300,0>
(5436): <- <Run|MPos:-53.700,-46.525,-24.175|Bf:13,128|FS:300,0>
(5435): <- <Run|MPos:-53.700,-46.525,-23.175|Bf:13,128|FS:300,0>
(5434): <- <Run|MPos:-53.700,-46.525,-22.150|Bf:13,128|FS:300,0>
(5433): <- <Run|MPos:-53.700,-46.525,-21.125|Bf:13,128|FS:300,0>
(5432): <- <Run|MPos:-53.700,-46.525,-20.100|Bf:13,128|FS:300,0|Pn:Z>
(5431): <- <Run|MPos:-53.700,-46.525,-19.100|Bf:13,128|FS:300,0|Pn:Z>
(5430): <- <Run|MPos:-53.700,-46.525,-18.100|Bf:13,128|FS:300,0|Pn:Z|Ov:100,100,100>
(5429): -> N0 G4P0.005
(5428): -> gc_wait_for_idle
(5427): <- ok
(5426): -> N0G1F300.0Z-27.450
(5425): -> gc_backoff_limit_switch
(5424): <- ok
(5423): -> N0 G4P0.005
(5422): -> gc_wait_for_idle
(5421): <- <Idle|MPos:-53.700,-46.525,-17.450|Bf:14,128|FS:0,0|Pn:Z|WCO:0.000,0.000,0.000>
(5420): <- Grbl 1.1f ['$' for help]
(5419): <- ok
(5418): STATE: SET MACHINE STATE: INIT
(5417): -> GRBL_RESET
(5416): -> GRBL_FEEDHOLD
In 5421 you can see Pn:Z (Z limit switch pressed), which is not the case on 6121. That triggers the backoff shown in 5426 and executed in 5430 through 5439.
I tried a similar thing in the UGS I have installed for my laser. It does not automatically home when you stop a job, so the issue does not manifest. When I held the limit switch and attempted a homing cycle, it would execute a backoff before continuing (but much faster, and if I didn’t release the switch fast enough, I’d hit an alarm state).