The worst rioting in over a decade appeared to ebb after a strong police response and backlash from local communities.