You simply ran bin/streamsets dc in an interactive shell and now want to stop it? If so, you can simply Ctrl+C (SIGINT) it the same way you would terminate any foreground process. If it's in the background, you can use the kill command.