Unusual question

I’m in the process of closing down my company in Taiwan. When I eventually do, will my visa be automatically cancelled? My visa and ARC are both thru my company.
I’m switching to a marriage visa (I’m married to a Taiwanese) and want to get an idea how much time I have.