Sentence:  But if the while I think on thee, dear friend, / All losses are <WSD>restored</WSD>, and sorrows end. 
Meaning of the word marked with <WSD> tags:  To make good; to make amends for.