Each axis has two sets of wires:
You must move both sets to their new location. Note: The “auto-level” bed switches and/or their wiring do not have to change location.