What happens if the surety gives something else in place of the debt to the principal obligor?
If the surety gives something other than the debt, their recourse against the principal obligor will be for the amount they stood surety for, not for the actual thing they gave.