code: def cli_to_shell(self):
          
          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
docs: Move _shell to the shell from the command line interface (CLI).