On Wing 5.x, AP/AAP adoption licenses are aggregated for all cluster member.
For example: Controller A has 48 AP and 256 AAP licenses while Controller B has 0 AP and 256 AAP licenses. Once cluster is formed between two controller, total available licenses will be 48 AP and 512 AAP. If one of cluster member (for example Controller A) goes down, other member (Controller B) will keep licenses from Controller A for a grace period of until 100 days. Available licenses can be confirmed using below command on one of cluster member controller: