Investors & landlords

No, you don't get refunded from the loss.

The loss is subtracted from your other income, and is then used to calculate your taxable income, which is what your tax is figured on.