In both cases, the agent automatically will disconnect from the Collector that the agent is currently connected to and will move to an appropriate Collector automatically. (per load balancing rule updates)
-What happens when the Load Balancing configuration is updated to exclude an agent from connecting to a Collector that the agent is currently connected to?
Answer: The agent will move to a collector that the agent is not excluded from automatically.
-What happens if an agent is currently connected to a collector that an agent is not latched to and a Collector the agent is latched to becomes available?
Answer: The agent will move to the collector it is latched to automatically.