def METHOD_NAME(self, db: Session, system: System) -> None:
    """Remove a user as one of the system managers for the given system
    If applicable, also update the systems on the user's client
    """
    if not type(system).__name__ == "System":
        raise SystemManagerException(
            "Must pass in a system to remove user as system manager."
        )
    try:
        self.systems.remove(system)
        self.save(db=db)
    except ValueError:
        raise SystemManagerException(
            f"User '{self.username}' is not a manager of system '{system.name}'."
        )
    if self.client:
        self.client.update(db=db, data={"systems": self.system_ids})