Yes, until you hold the ownership of shares in the stock market. The individual may allowed to transfer it to any account and can also move them back, if they hold the ownership of that particular demat account.