Run "repli status" and confirm that the onDemandScan is no longer running
Rebooting the operating system will also accomplish the goal of stopping the onDemandScan.
Additional Information
There are two types of manual scans that can be initiated from the RepCLI command line tool.
onDemandScan <path> - This scans directories (or all fixed storage if no path is given. This can be stopped using the above procedure.
localScanner <fullFilePath> - This scans a single file only. This cannot be stopped using the above procedure.
There is also a background scan, which occurs automatically at sensor install. This cannot be stopped using the above procedure. This scan will continue until complete, but it can be paused via the console in the Inventory Page, by selecting the sensor and using the Take Action - Pause Background Scan option.
onDemandScans always run in an "expedited" state (versus Standard). Expedited scans run 5x faster than a Standard scan, and as such will have a larger impact on system performance.