When in AUTO mode, the transponder has an algorithm that it uses to determine whether it should be in ALT or GND mode. I don't know off the top of my head what the conditions for the switch are, but you may be able to fool it by doing some slow flight.