Restarting the CDS agents is simple.
Go to the Domain Controller(s) (DC) related to your CDS project.
Open the 'Services' application, and find the service with a name containing "Binary Tree" or "Quest" (if it's been renamed).
Restart the agent.
If you are unsure of which DC contains the agent, this information can be found in the "Agents" section of P365 Directory Sync
Click this link or follow the steps below https://power365.binarytree.com/DirSync/Agent/Manage
Click the Hamburger menu
Scroll down to Setup
The name of each agent is the server name where the agent is installed.