During his last year of study there, Hallgrímur was employed to re-educate a group of Icelanders who had been kidnapped by Barbary pirates in the Turkish Abductions in 1627 and ransomed ten years later. Among them was a woman, Guðríður Símonardóttir, sixteen years Hallgrímur's senior, with whom he fell in love. Guðríður was married to a man from the Westman Islands, who had not been captured in the raid. After Guðríður became pregnant by Hallgrímur, he left the seminary and returned with the group to Iceland. On their arrival it emerged that Guðríður's husband had died, leaving her a widow; she and Hallgrímur promptly married and he worked as a labourer for a number of years.