Initiation into the priesthood is not reversible. Even if the priest wants out and the curia want him out, he's still officialy a priest.

But active duty is far from guaranteed.