What condition remains in sarf even if collateral is valid?

Kitab al-Rahn: Salam, Sarf, Third-party Custody and Fungible Collateral