Hey there,
i'm having the exact same problem for a few hours now. I had the Printer up and running (Arduino Mega, RAMPS 1.4) and just replaced the hotend (working without problems), when suddenly that problem appeared: homing works fine, then no more movement. Many hours of research didn't give me any answer and this is the only result, that actually deals with the exact same problem. I've also tried everything that could even remotely be connected to the problem, but nothing solved it. Just as i'm writing this, i all of a sudden could move the z-axis manually after homing and then suddenly the heatsink fan stopped, but z-axis and homing is still working flawlessly.
This is really confusing. I mean, eveything works totally fine when homing, so what can be the problem.
I'd also really appreciate any help for me and Richard.
Best,
Marvin