Why the Ender 5 Pro can't remember the axis position or cant move back to home anymore?
Once you pull the plug or disable power to the stepper motors, the printer forgets its location. That is perfectly normal and exactly how it is supposed to work.
The printer knows where the printer volume is once you have &quot;homed&quot; the printer. Homing is done prior to printing with G-code G28 which should be present in your start G-code script of your slicer. Once homed, the offsets from the endstops determine where the origin of the printer is and the maximum dimensions determine the build volume.
After you switched on the printer, the printer doesn't know where the origin is and movement is limited. E.g. when the following constant is defined: #define NO_MOTION_BEFORE_HOMING no movement at all is possible before the printer is homed, this can help prevent destroying the printer.