Question: do you still get paid if your video is demonetized?
Answer: Monetization must be fully active for either finalization to occur, or payouts to be made. Thus even if you were to close your AdSense account now, because you closed it while demonetized, AdSense would be likely to return any money in the account to the advertisers, instead of paying it to your bank.