 ibn Habib served as the rabbi and Jerusalem and the head of the "yeshiva" until the day he died in 1696, before his 43rd birthday.He did not live to see any of his manuscripts published.However, his grandson (his daughter's son) Rabbi Jacob Culi edited his manuscripts and saw to their publication.