From what I know, when using
1 Turingbot GUI, the only option is to click stop button
2 turingbot-bin directly in a bash script, then there is no way to stop the process but by interrupting it CTRL+C
3 Python script, then you can indicate time in sec to run the process. It is illustrated in the documentation somewhere. I am using this method usually, since other 2 cases above can not be set up this way.