Reseated G Shield to Arduino and only Z Limit switch works

Check this thread to learn how to talk to Grbl. Once that’s done, enter the command $$ and it will output the Grbl parameters. Post them here.

Here’s a tutorial for installing the Arduino IDE.

https://learn.sparkfun.com/tutorials/installing-arduino-ide

Do not load the blink program it will erase Grbl.