Estimate: present value of the rate differential on the outstanding balance over the remaining term, discounted at the treasury yield, with the minimum-penalty floor. Actual note math governs.
Related desk tools: Defeasance Calculator (prices the securities portfolio and compares it against yield maintenance on the same loan) and Interest Rate Cap Calculator.