Sheriff's office is executing civil judgment. Police is handling criminal matter.
Also, they are not shutting down police department. everyone has a different take on what defund police means.