There are a myriad of ways to restart Exchange services ut using Powershell is probably the quickest.
[PS] C:>Ge
t-Service *Exchange* | Where {$_.DisplayName -notlike "*Hyper-V*"} | Restart-Service -Force
The above line restarts everything, whilst this just restarts those that are already running.
[PS] C:>$services = Get-Service | ? { $_.name -like "MSExchange*" -and $_.Status -eq "Running"};foreach ($service in $services) {Restart-Service $service.name -Force}
Tested on MSX 2019.