Can't get a clean reboot

What version firmware are you using? I would try this to remove the Gcode. It says it’s for versions 1.08 and lower but I would still try it.
https://forum.onefinitycnc.com/t/how-to-remove-all-gcode-files-manually-fix-for-stuck-file/5626