Similarly, if a property is sold at foreclosure or in a short sale and the underlying mortgage is recourse (meaning the borrower has personal responsibility for any excess loan deficiency remaining after the sale), then to the extent the remaining deficiency is forgiven, the borrower will again recognize COD income.