Incorrect. There were laws that required people to wear masks in public in most states, which is what they objected to. There were similarly requirements to be vaccinated for government employment, which again was considered a violation.
Almost no one was trying to ban voluntary vaccinations or mask wearing.