No, since you are an expat, this rule doesn't apply to you while remitting back your profits.
Your capital will go back to your NRE account once you exit your investments, (assuming that's where you invested it from) and then you can remit it back from there to your resident bank account using any remittance product