It's a little more complicated; the translation of "gage" from French to English is "pledge", so mortgage is literally "death pledge." I read that the meaning is to describe how the arrangement "dies" once the loan is paid off, or payment becomes impossible.
Thank you for the correction. 👍🏼