A legislative body which has declared itself to be the agency pursuant to Section 33200 may at any time by resolution determine that it shall no longer function as an agency, in which event, the mayor or chairman of the board of supervisors with the approval of the legislative body shall appoint five or seven resident electors of the community as members of the agency, and, upon such appointment, the community redevelopment commission, if any, shall no longer function.