NEW YORK (Reuters) – Elon Musk’s job as Tesla Inc’s chief executive appeared safe on Thursday as a federal judge in Manhattan urged the billionaire to settle contempt allegations by the U.S. Securities and Exchange Commission over his use of Twitter.

At a hearing in Manhattan federal court, U.S. District Judge Alison Nathan gave both sides two weeks to work out their differences, and said she could rule on whether Musk violated his recent fraud settlement with the regulator if they failed.

“Take a deep breath, put your reasonableness pants on, and work this out,” the judge said.

The hearing appeared to lift an overhang over Tesla, as the SEC stopped well short of recommending Musk’s removal as chief executive or even from the electric