AMS stuck in unload loop

Did you try turning the machine off completely and rebooting? Maybe disconnect and reconnect the AMS to the printer?

If you haven’t it might be worth a shot. Maybe even unplug the machine and let it sit without any power for 15-20 min?

Might not fix anything but you never know.