When you want to close a console, but you want to leave the program which runs active you must run the following commands:
Ctrl + Z – this will put the process in background, but in inactive state bg – will activate the process in background
If you want to bring it to front
fg – this will bring the process in the console
Cheers,