G-sharp minor
Very unusually, the opening theme is immediately repeated, slightly embellished, in A major, and the reprise also begins in this key. Presumably the minuet would have then returned to A-flat major. The trio is in the parallel minor, notated enharmonically as G-sharp minor.