Move _shell to the shell from the command line interface (CLI).

def cli_to_shell(self):
        """ Move _shell to the shell from the command line interface (CLI). """
        if self._in_cli:
            self._shell.send("start shell\n")
            time.sleep(2)
            self._shell.recv(9999)
            self._in_cli = False
            return True
        return False