I think there is a provision to withdraw all money if your status is changed to NRI. My cousin faced the same issue and he got all his money back upon visiting the PPF desk of SBI and providing relevant proof. He also has money in NSC, which he has not been able to withdraw prematurely. PPF was easy to close.