After The Lord of the Rings, Tolkien went through a long phase where he did scholarship and revised his earlier works.
He felt the creeping of old age and inactivity coming upon him, and these fears set him writing again.