At the age of 50, he wanted to retire, but was persuaded otherwise by then Lord President of the Federal Court, Tun Suffian Hashim. Salleh was appointed as a Federal Court judge instead. Although the work bored him, he continued.