 The poem which Wilmot has been banished from court at the beginning  of the film is "A Satyr on Charles II". The historical Wilmot really  did submit that poem to the monarch accidentally, but he  subsequently left court of his own accord, rather than at Charles  command.