If a prisoner violates a regulation governing the prisoner’s conduct or performance of assigned labor, under circumstances not constituting a public offense, the sheriff or chief of police of the municipality may return the prisoner to physical confinement.