A pledge holder for reward cannot exonerate himself from his undertaking; and a gratuitous pledge holder can do so only by giving reasonable notice to the pledgor and pledgee to appoint a new pledge holder, and in case of their failure to agree, by depositing the property pledged with some impartial person who will then be entitled to a reasonable compensation for his care of the same.
SDCL 44-10-7