The detailed steps depend on the used CPU (Core).
Basically, the J-Link de-initializes the debug registers and starts the CPU on close / disconnect.
So the device is not reset, but it also does not continue in debug state.
The application is continued in its current state after the de-initialization of the debug registers.
Does this answer your question?
Please read the forum rules before posting: Forum Rules
Keep in mind, this is not a support forum. Its main purpose is user to user interaction.
Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
Should you be entitled to support you can contact us via our support system: segger.com/ticket/