It is always easier to show (or explain) how to do something if you provide an example VI with the control you want.
There are two ways to do this. One is as your program is about to exit, set the value of the Boolean Control (or Indicator) to False. You can use a Local Variable to do this, though you may need to "anchor" it somehow (remember the Principle of Data Flow), or you can create a Value Property for this Control (which gives you an Error Line as an "anchor") and wire False to it.
The other way is to leave it alone when the program exits, and be sure to initialize it when the program starts (using the techniques in the previous paragraph).
Does the simulation stop by itself or are you stopping it with a control? How do you start the simulation? What else does the program do? What is the code architecture? What do you know about "mechanical action"?
Please attach some simplified code (VI, not pictures!) so we can give more specific advice.
I guess this is still related to your other thread!? Either ask in that thread or provide a link to it…
To change a control value programmatically you can write a new value to a local variable of that control.