Many who are new to Linux have a common grievance.
They have to run commands via terminal then can't close the terminal.
I will show you how to make your life easier!!!
I will use virtual box as my example.
Oracle virtual box has a common issue on many Linux hosts where it will not enumerate USB devices unless you run the Hypervisor as root.
To do such
sudo virtualbox

Then in terminal press
ctrl + z

You should see similar to this.
^z means ctrl + Z
We then run
bg
Then we run
disown
Now you can close terminal and Virtualbox will stay open