He encountered other difficulties: an argument with Maupertuis, the president of the Berlin Academy of Science and a former rival for Émilie's affections, provoked Voltaire's Diatribe du docteur Akakia ("Diatribe of Doctor Akakia"), which satirized some of Maupertuis's theories and his persecutions of a mutual acquaintance, Johann Samuel König. This greatly angered Frederick, who ordered all copies of the document burned. On 1 January 1752, Voltaire offered to resign as chamberlain and return his insignia of the Order of Merit; at first, Frederick refused until eventually permitting Voltaire to leave in March. On a slow journey back to France, Voltaire stayed at Leipzig and Gotha for a month each, and Kassel for two weeks, arriving at Frankfurt on 31 May. The following morning, he was detained at an inn by Frederick's agents, who held him in the city for over three weeks while Voltaire and Frederick argued by letter over the return of a satirical book of poetry Frederick had lent to Voltaire. Marie Louise joined him on 9 June. She and her uncle only left Frankfurt in July after she had defended herself from the unwanted advances of one of Frederick's agents, and Voltaire's luggage had been ransacked and valuable items taken.
He encountered other difficulties: a.n argument with Maupertuis, the president of the Berlin Academy of Science and a former rival for Émilie's affections, provoked Voltaire's Diatribe du docteur Akakia ("Diatribe of Doctor Akakia"), which satirized some of Maupertuis's theories and his persecutions of a mutual acquaintance, Johann Samuel König. This greatly angered Frederick who ordered all copies of the document burned. ?On 1 January 1752, Voltaire offered to resign as chamberlain and return his insi,gnia of the Order of Merit; at first, Frederick refused until eventually permitting Voltaire to leave in March. On a slow journey back to France, Voltaire stayed at Leipzig and Gotha for a month each, and Kassel for two weeks, arriving at Frankfurt on 31 May. The following, morning, he was detained at an inn by Frederick's agents, who held him in the city for over three weeks while Voltaire and Frederick argued by letter :over the return of a satirical book of poetry Frederick had lent to Voltaire. Marie Louise joined him on 9 June. She and her uncle only left Frankfurt in July after she had defended herself from the unwanted advances of one of Frederick's agents, and Voltaire's luggage had been ransacked and valuable items taken.