Robot Framework how to disconnect from app

  disconnect, robotframework, windows

How can I disconnect from an app to avoid closing the app at the end of the script?

To connect to an open/running app (e.g. notepad) I use:

${appid}    Connect By Handle    ${theapp.handle}

If the script finishes, the app is closed. Is it possible and if yes how, to disconnect from the app to keep it open after finishing the script?

Source: Windows Questions