Gray attended church services there with his mother, and they would have routinely walked by his aunt's final resting place, in an activity that may have provided Gray with the determination to finish his poem.
WSJ: Meditation on Mortality | Elegy Written in a Country Church-Yard | Thomas Gray | Masterpiece by John J. Miller