he came like a protecting spirit to the poor girl , who committed herself to his care ; and after the interment of his friend , he conducted her to geneva , and placed her under the protection of a relation .