A day of demonstrations outside the New York mayor’s residence concluded with scenes of tension on Saturday.