When you want to stop manual database scanning before it automatically finishes, issue
the following command to gracefully terminate the scan task at the Domino server console:
tell SMDdbs quit
Scanning will stop after the current document has been scanned.