"disposed to resist lawful restraint," c. 1400, from un- (1) "not" + obsolete ruly (adj.) "amenable to rule." Related: Unruliness.
an unruly class
the little boy's parents think he is spirited, but his teacher finds him unruly