code: def exit_config_mode(self, exit_config="exit all", pattern="#"):
          
          return super(AlcatelSrosSSH, self).exit_config_mode(
              exit_config=exit_config, pattern=pattern
          )
docs: Exit from configuration mode.