Deductions & credits

Agreed, the taxpayer is selling property, and that's a capital gains transaction.  The basis of the property may be affected by various factors.  But the fact that the sale is forced, rather than voluntary, does not allow the taxpayer to treat the proceeds as a non-taxable cash inheritance.