Hi
If the profits are distributed amongst the shareholders, the same would be taxed as dividend in hands of the shareholders.
If the company is to be closed, this would be the only way out.
However, if you plan to continue the company, the company can pay salaries / professional fees to the directors and taxation would be done accordingly.