See HTBasic Suspend Interactive and resume interactive command. The C++ function declaration is:
void Interactive(short option)
If option is false then interactive is suspended. If option is true interaction is resumed. A sample of the command is:
Interactive(0);