The DJ application is not designed to operate after the computer restarts after being in the sleep or standby mode. Close the application, disconnect then reconnect the USB cable, then relaunch the DJ application.
When using the DJM-5000 connected to a computer, we recommend setting the computer so that it does not switch to the sleep mode or standby mode.