Motor came unplugged from ramps board

Now nothing works. Shall I assume it fried the ramps board, the arduino, or both? It still “connects” to the host, but no controls work.

Generally that will only fry that axis’ driver not the whole ramps board. I would have a look for another issue.