If a financial corporation ceases doing business, dissolves, or withdraws from the state during any taxable year, the tax for the taxable year during which cessation of doing business, dissolution or withdrawal occurs shall be computed as prescribed by subdivision (b) or (d) of Section 23183, 23183.1, or 23183.2.