To disconnect from a VM that was connected to with a Remote Java Application launch configuration:
Communication with the VM is terminated, and all threads in the remote VM are resumed. Although the remote VM continues to execute, the debug session is now terminated.
Connecting to a remote VM with the Remote Java application launch configuration
Running and debugging