The six remained in custody after some of those who had gathered in the town turned hostile towards officers, Hampshire and Isle of Wight Constabulary said.