year which includes such triggering event. (2) Triggering event (A) In general In the case of any shareholder’s net tax liability under this section with respect to any S corporation, the triggering event with respect to such liability is whichever of the following occurs first: (i) Such corporation ceases to be an S corporation (determined as of the first day of the first taxable year that such corporation is not an S corporation). (ii) A liquidation or sale of substantially all the assets of such S corporation (including in a title 11 or similar case), a cessation of business by such S corporation, such S corporation ceases to exist, or any similar circumstance. (iii) A transfer of any share of stock in such S corporation by the taxpayer (including by reason of death, or otherwise). (B) Partial transfers of stock In the case of a transfer of less than all of the taxpayer’s shares of stock in the S corporation, such transfer shall only be a triggering event with respect to so much of the taxpayer’s net tax liability under this section with respect to such S corporation as is properly allocable to such stock. (C) Transfer of liability A transfer described in clause (iii) of subparagraph (A) shall not be treated as a triggering event if the transferee enters into an agreement with the Secretary under which such transferee is liable for net tax liability with respect to such stock in the same manner as if such transferee were the taxpayer. (3) Net tax liability A shareholder’s net tax liability under this section with respect to any S corporation is the net tax liability under this section which would be determined under subsection (h)(6) if the only subpart F income taken into account by such shareholder by reason of this section were allocations from such S corporation. (4) Election to pay deferred liability in installments In the case of a taxpayer which elects to defer payment under paragraph (1)— (A) subsection (h) shall be applied separately with respect to the liability to which such election applies, (B)