During the period of suspension from office for conduct described in § 51-51i, all judicial salary provided for in § 51-47 or salary provided for in § 31-277 or 46b-231, as the case may be, including any benefits relating thereto, shall be suspended and time shall not be accrued for any rights in any pension plan. If the suspension from office is overruled by the Supreme Court or the Governor, as the case may be, all salary and benefits and time for vesting of pension rights, which may have been suspended, shall be paid or credited to the judge, administrative law judge or family support magistrate who was suspended.