In the event of any vacancy in the office of the mayor or council member caused by death, resignation, or any other cause, which vacancy shall occur not less than six months before the next municipal general election to be held in the City of Pembroke, such vacancy or vacancies shall be filled at a special election called for that purpose by the remaining members of the mayor and council within ten days after such vacancy occurs. The mayor or council member, as the case may be, elected at such special election shall take office immediately upon the certification of the results of such election to serve for the remainder of the unexpired term. At any such special election, the candidate receiving the highest number of votes cast shall be the winner and shall be elected. If such vacancy occurs less than six months before the next municipal general election held in the City of Pembroke, such vacancy shall be filled by appointment made by the mayor and remaining council members for the unexpired term.