Rondo
Composers from the Baroque period onwards often write movements which are in rondo form.  In the Classical music period the last movement of a symphony or sonata is very often a rondo.  Rondos are normally fast and lively.  They are a good way of finishing a long piece of music with something that is happy.