He resided at Cambridge, teaching and taking occasional duty until the accession of George I, when his conscience forbade him to take the oaths of allegiance to the new government and of abjuration of the Stuarts.