Yes. An S corporation's items of income, loss, deduction, and credit are passed through to, and taken into account by, the shareholders in computing their own tax liability for the shareholder's tax year in which the S corporation's tax year ends.  Where the individual shareholder dies during the year, these items are taken into account on the shareholder's final return.