docs: def exit_config_mode(self, exit_config="exit configuration-mode"):
          """Exit configuration mode."""
          output = ""
          if self.check_config_mode():
              output = self.send_command_timing(
                  exit_config, strip_prompt=False, strip_command=False
              )
              # if 'Exit with uncommitted changes?' in output:
              if "uncommitted changes" in output:
                  output += self.send_command_timing(
                      "yes", strip_prompt=False, strip_command=False
                  )
              if self.check_config_mode():
                  raise ValueError("Failed to exit configuration mode")
          return output