Can you go through this guide and tell us what you find along the way?
https://docs.duet3d.com/en/User_manual/Troubleshooting/Duet_wont_respond
When you say not responding to any commands, how are you sending commands? Are you able to connect via USB and terminal software like YAT?