Using a terminal to control the 3D Printer Send "M119 - Endstop States "

Then manually press the end-stops to see if all work.
Then for the Proximity sensor you could use a spatula and tap the senso.r.

I still hear the stepper grinding, maybe the switch works and the end-stop rest plate is not pressing the switch blade...