Thank you for your answers.
Unfortunately the only way to escape the loop is to use the option 'Quit' from the error screen. After that the result is the same as if we had let the ghost disappear: it comes back every two days and nothing else happend. Did I miss something ?