Keeps disconnecting

My CNC keeps on disconnecting in the middle of my projects. I remove the usb and reconnect it . It will run okay for about 10 minutes and disconnect again . What should I do ?

Welcome to the group Jesus!

Have you checked the power settings on your PC? Make sure nothing is going to sleep. I’ve also read on here where some users have tried a different USB cable and had that work.

I was having random disconnects with two USB cables (one was shielded)

Tried a third cable (shielded) and the problem went away.

This is the one that has worked for me.
DTECH 10 Feet USB Printer Cable USB 2.0 A Male to B Male High Speed Data Transfer Wire Shielded Cord Blue