Sculpfun s9 reset

hey everybody , i’m new in to laser ingraving just bought a sculpfun s9 , i tryed to install and activate end stops following some youtube tutorials , at first everything was fine but i think i messed up the comands when trying to resize workspace, now the laser doesen’ reconise endstops or does not go to home point like it used to do , what do i do?

the error i get is :
ALARM:8

Homing fail. Cycle failed to clear limit switch when pulling off. Try increasing pull-off setting or check wiring.

ok

Grbl 1.1h [‘$’ for help]

[MSG:‘$H’|‘$X’ to unlock]

ok