(a) The city council may, when it deems appropriate, appoint a city manager for an indefinite term and shall fix his or her compensation, and define the powers and duties of said office. (b) The city manager shall be removed or suspended from duty only by a vote of four councilmembers. If permanently removed from duty, the city manager shall be paid forthwith the salary and accumulated annual leave due and unless otherwise provided by contract, the city manager's salary for the next three months following the adoption of a resolution for removal. If the city manager is removed for malfeasance, misfeasance, or nonfeasance in the office, the salary of the city manager for the next three months shall not be paid.