I cant find anything on error 5 homing cycle not enabled in GRBL?
Williams
If you machine isn’t configured to home at boot … turn off the auto home at startup option in edit → device settings