a look into the bash builtin command named “disown”

$jobs -l
$ping gnu.org 
PING gnu.org (208.118.235.148) 56(84) bytes of data.
64 bytes from wildebeest.gnu.org (208.118.235.148): icmp_seq=1 ttl=53 time=267 ms
64 bytes from wildebeest.gnu.org (208.118.235.148): icmp_seq=2 ttl=53 time=266 ms
64 bytes from wildebeest.gnu.org (208.118.235.148): icmp_seq=3 ttl=53 time=267 ms
64 bytes from wildebeest.gnu.org (208.118.235.148): icmp_seq=4 ttl=53 time=321 ms
64 bytes from wildebeest.gnu.org (208.118.235.148): icmp_seq=5 ttl=53 time=268 ms
^Z
[1]+  Stopped                 ping gnu.org
$jobs -l
[1]+  3882 Stopped                 ping gnu.org
$disown 
bash: warning: deleting stopped job 1 with process group 3882
$jobs -l
$ping gnu.org 
PING gnu.org (208.118.235.148) 56(84) bytes of data.
64 bytes from wildebeest.gnu.org (208.118.235.148): icmp_seq=1 ttl=53 time=267 ms
64 bytes from wildebeest.gnu.org (208.118.235.148): icmp_seq=2 ttl=53 time=267 ms
^C
--- gnu.org ping statistics ---
3 packets transmitted, 2 received, 33.3333% packet loss, time 3ms
rtt min/avg/max/mdev = 266.815/266.868/266.921/0.053 ms
$xeyes &
[1] 3885
$jobs -l
[1]+  3885 Running                 xeyes &
$jobs -l
[1]+  3885 Running                 xeyes &
$disown 
$jobs -l
$jobs -l
$fg 1
bash: fg: 1: no such job
$


link: https://www.cyberciti.biz/faq/unix-linux-disown-command-examples-usage-syntax/