You presumably started the example running from the Geant4 PreInit>
prompt, using a /contro/execute
command. Then, when that command finishes its action, you are still inside the example program, at the Geant4 prompt. If you want to quit the executable and get back to your shell, just type exit
.