In the local machine, if not closed by Selenium WebDriver quit() method, you can use batch commands specified below to close browser windows.
taskkill /im chromedriver.exe
and
taskkill /im chrome.exe
In order to close browser on the remote machine, you should make sure that driver.exit() executes after the end of every test. You can catch all possible exceptions and throw it only after your WebDriver instance closes the browser window.
If at all if browser window does not close, you must log in to the machine via RDP and execute the batch command.