Director J.J. Abrams has posted a heartfelt tribute to actor Anton Yelchin on Twitter following the actor’s shocking death over the weekend.

“You were brilliant. You were kind. You were funny as hell,” Abrams wrote. “And you weren’t here nearly long enough. Missing you, JJ.”

Yelchin, 27, was found dead early Sunday at his L.A. home. The actor was pinned between his car and mailbox in what appears to be a freak accident.

Abrams directed Yelchin in two “Star Trek” films, the 2009 “Star Trek” reboot and “Star Trek Into Darkness” in 2013.

Yelchin played Russian specialist ‘Chekov’ in the “Star Trek” series.

Justin Lin, who directed the upcoming installment in the franchise, “Star Trek Beyond,” which opens July 22, was also in “shock.”

“Rest in peace, Anton,” Lin wrote on social media. “Your passion and enthusiasm will live on with everyone that had the pleasure of knowing you.”

Anton Yelchin: His Life and Career