Elon Musk made a surprise virtual appearance in court today for a bombshell paternity and custody lawsuit just hours after quitting as Trump's top adviser.

Alleged baby mama Ashey St. Clair, 26, had filed the lawsuit on February 21 claiming Musk told her to keep the baby secret, then ghosted her and their son in the middle of child support negotiations, forcing her to take legal action.

DailyMail.com's exclusive pictures show St. Clair, 26, as she strode into the hallway of part 44 in New York Supreme Court, flanked by her attorneys Dror Bikel and Karen B. Rosenthal.

The conservative influencer wore a long beige coat over a demure collared navy-blue knitted sweater and pleated skirt with white piping.

Her attorneys said 'we are not going to speak to you' as a reporter approached St. Clair.