 Mozart was fond of deploying his themes in this way.Towards the end of the recapitulation of a concerto movement in sonata form, there is usually a cadenza for the soloist alone.This has an improvisatory character (it may or may not actually be improvised), and, in general, serves to prolong the harmonic tension on a dominant-quality chord before the orchestra ends the piece in the tonic.