The money received from a director continues to be treated as exempted deposit when the person from whom money has been received ceases to be a director of the company. But, the case is not same in case of a shareholder.
You can take loan under section 292 of the Companies Act, 1956.