Run shell command in the background?

Hi, I often log on with the tablet on the banana and would like to sell sometimes mv-commands. So far no problem. Only I have the tablet adjusted so that it kills the wireless connection when the screen goes off and thus the SSH connection. Will the command be completed anyway, or will the SSH connection be complete until the end of execution? I have the feeling that the banana does not execute the command completely, but if the connection is cut, the command is also canceled. Please help. Thanks! I didn’t find the right solution from the Internet.

References: https://forum-bpi.de/viewtopic.php?f=8&t=243

graphic video