The declaration shall be submitted to the Secretary of State for filing in his office. If it conforms to law he shall file it and endorse the date of filing thereon. Thereupon the corporation shall cease to carry on business, except for the purpose of adjusting and winding up its affairs.