While “farewell” can sound formal in English, it doesn't carry the same sense of absolute, death-related finality. For a formal but non-permanent goodbye (e.g., a retirement party), the word
告别 (gàobié) is far more appropriate.
永别 is for the end of a life, not the end of a career.