How should classical detention of a debtor be understood?

Kitab al-Rahn: Partial Repayment, Agency to Sell and Pledgee Rights