So you started a process or other important task that is remote but it is in the foreground and on a pts. This means if you background with Ctrl + Z or otherwise logout or get disconnected that the process will be stopped.
1.) Hit Ctrl + Z to suspend the process.
2.) Type bg to restore the process into the background. If you do a ps aux on the process you will see it was restored with the & at the end, which puts it into the background.
Now there is no need to restart the task.
You can use the "screen" tool which gives you multiple virtual terminals that stay open even if you are disconnected.
linux, bash, disconnected, logout, ssh, remotelyso, task, foreground, pts, ctrl, z, suspend, bg, restore, ps, aux, restored, restart, terminal, manually, backgrounding, processes, quot, multiple, virtual, terminals,