 He was also close with Samuel Rogers, who attributed his longevity to the care and vigilance of his physician, and who requested him to perform for him the same sad office Beattie had discharged for Campbell — that of closing his eyes in death.His intercourse with Rogers was, however, far less close than that with Campbell.In 1845 Beattie's wife died, and soon afterwards he gave up regular practice as a physician; but he continued for the rest of his life to give medical advice to clergymen, men of letters, and others without accepting professional fees.