Well you could almost do that by
1. automatically closing it at a quiet moment of your choice e.g. Using a timer event to trigger Application.Quit
2. then immediately decompiling it as a scheduled task after which it would be back running normally.
But if that's not practical, you'll need to devise a different solution