To uninstall from a client (for example, before performing a software upgrade), simply unmount the target directory from the client while it is not running any analyses.
To uninstall from the server, remove the target directory while no analyses are running.