def METHOD_NAME(self, mode: Union[str, Mode]):
    """Removes a mode from this link
    Raises a warning if mode is already NOT allowed on the link, and fails if mode does not exist
    :Arguments:
        **mode_id** (:obj:`str` or `Mode`): Mode_id of the mode or mode object to be removed from the link
    """
    mode_id = self.__validate(mode)
    if mode_id not in self.modes:
        self._logger.warning("Mode already inactive for this link")
        return
    if len(self.modes) == 1:
        raise ValueError("Link needs to have at least one mode")
    self.__dict__["modes"] = self.modes.replace(mode_id, "")