Right
卖 supplies the sound - historically the rime aligns with shú (the traditional form used
賣 with a regular shù to shú reading; sound has drifted but rhymes survived in classical poetry). 'Buy back what was sold' fits the meaning: pay money to redeem a pledge, ransom a captive, or atone for a wrong.