Guru Har Rai (1630-1661), a grandson of Guru Hargobind, became the seventh Guru in 1644 while still young. He is remembered for a marked gentleness of temperament, and the tradition gathers this into small emblematic stories, that he walked carefully lest his wide robes damage the flowers of a garden, that he grieved over a broken plant. Yet he was no pacifist by policy alone: he retained the substantial body of cavalry his grandfather had raised, keeping the community's strength intact while declining to use it in open war against the empire.
At Kiratpur he maintained a garden of medicinal herbs and a free dispensary, and the tradition dwells on his care for the sick. His course was one of watchful preservation, holding the Panth together, and out of harm's way, through a period when a direct collision with Mughal power would likely have destroyed it.
Har Rai became Guru in 1644 at the age of about fourteen, succeeding his grandfather Hargobind directly; his own father, Baba Gurditta, had died before inheriting the office. His seventeen-year guruship, ending with his death in 1661, is remembered as a deliberate policy of withdrawal from the open conflict his grandfather had fought, conducted from Kiratpur in the Shivalik foothills rather than from Amritsar, which by then lay more exposed to Mughal attention. The tradition credits his household's medicinal knowledge to his mother and grandmother as much as to himself, situating his dispensary within a family practice rather than a wholly personal one.