Moreover, Carrey was also recently announced as the actor to take on the role of Dr. Ivo Robotnik in the upcoming Sonic the Hedgehog adaptation, so he still has some potential blockbuster gas left in the tank as well.
With all of that said, Jim Carrey did not leave Hollywood entirely.
That said, the overall arc of his career seems to suggest that he has moved away from the more active tentpole work of his earlier years.
He has remained at least partially active as a performer, with roles in films like Dumb & Dumber To, Kick-Ass 2, and The Bad Batch defining his most recent years on the big screen.