変ニ長調
The sonata ends in the tonic major, in the enharmonic spelling of D-flat major.