The Mayflower Compact was a document that contained set of rules established by the English settlers who traveled to the New World on the Mayflower for self-governance. The Mayflower Compact was to ensure a functioning social structure would prevail.
The author wanted to illustrate how scary yellow fever was, he left the city in Knox' hands and had even wrote to him a letter right before he left, on Sept 9 of 1793, telling him to leave if he thought it was necessary.