Protecting themselves against a possibly life-threatening disease, not acting as a spreader. It’s literally what vaccines are for. Do you have something else in mind?
source?
Regardless, being exposed after vaccination is better than before vaccination.