Trying to figure out why my printer has suddenly developed the need to crash the print head into the right side of the frame (the end stop is on the left) after it has finished the print. It stops after a couple seconds of horrible stepper skipping as it tries to progress further right. It does home correctly when I tell it to on the printer.

Been a couple weeks since I used the printer but I did no changes to the settings I regularly use except for temperatures since I was printing with a different filament. The last print movement in my gcodes are all in bounds of the print bed.

My end codes are as follows:

M104 S0

M140 S0

G91

G1 E-1 F300

G1 Z+0.5 E-5 F{travel_speed}

G28 X0 Y0

M84

G90

The print head has never returned to the end stop at the end of the print as requested, only the bed does but it never bothered me. I am using Simply3D for slicing. Thanks for the help!