He remained there for several years, acting as curate in one of the lowest districts, preparing his Manual of Prayers for the use of the Scholars of Winchester College (first published in 1674), and composing hymns.
[1] It was at this time that he wrote, primarily for the same body as his prayers, his morning, evening and midnight hymns, the first two of which, beginning "Awake, my soul, and with the sun" and "Glory to Thee, my God, this night", are well known.
While with the court at The Hague, he incurred the displeasure of William by insisting that a promise of marriage, made to an English lady of high birth by a relative of the prince, should be kept; and he therefore gladly returned to England in 1680, when he was immediately appointed one of the king's chaplains.
[5] In August of this same year he accompanied Lord Dartmouth to Tangier as chaplain to the fleet, and Pepys, who was one of the company, has left on record some quaint and kindly reminiscences of him and of his services on board.
It is said that, upon the occurrence of the vacancy, the King, mindful of the spirit he had shown at Winchester, exclaimed, "Where is the good little man that refused his lodging to poor Nell?"
The consecration took place at Lambeth on 25 January 1685; and one of Ken's first duties was to attend the death-bed of Charles, where his wise and faithful ministrations won the admiration of everybody except Bishop Burnet.
He was probably influenced by two considerations: first, by his profound aversion to Roman Catholicism, to which he felt he would be giving some episcopal recognition by compliance; but, second and more especially, by the feeling that James was compromising the spiritual freedom of the church.
[1][6] With the Glorious Revolution which speedily followed this impolitic trial, new troubles encountered Ken; for, having sworn allegiance to James, he thought himself thereby precluded from taking the oath to William of Orange.
[7] He died there on 19 March 1711, and at dawn the following day, whilst his faithful friends sang "Awake, my soul, and with the sun" Bishop Ken's remains were laid to rest beneath the East Window of the Church of St. John in Frome – the nearest parish in his old Diocese of Bath and Wells.
"[1] When deprived of his see by William and Mary in 1691 after he refused to transfer his oath of allegiance from James, on the grounds that once given, it could not be forsworn, he was given lodgings at Longleat and an £80 annuity by Thomas Thynne, 1st Viscount Weymouth, a friend since Oxford days.
[9] Taking up residence on the top floor at Longleat for a period of some twenty years, he exerted a profound influence upon Thomas Thynne, becoming what some might describe as his conscience.
Not that its interior ever matched the architectural finery of equivalent chapels in other stately homes, but it was in any case evidence of the devout spirit which prevailed at Longleat over that particular historical period.
While living in the house at Longleat, Ken wrote many of his famous hymns,[12] including 'Awake my soul', and, when he died in 1711, he bequeathed his extensive library to the 1st Viscount.