I'm not quite following.
When you created and installed the script in your preferred directory, you simply made it executable, and then ran it, ./starter.sh (or what-ever it's called)
Now, just run 'ps aux' and look for the process ID that is the otm agent running then use 'kill -9 xxx', with xxx being the process ID. Make sure you only have one otm agent running of course.
When you're sure none is running, just run the starter again;
That should be it.