Auto frequency change

Will it do that switch with the ATC window closed?