The wishes of the samurai were at odds with the wishes of the public.
The Tokugawa had successfully persuaded the samurai that traditional Japanese values might suffer, and now the samurai felt betrayed, rallying under the slogan  Sonno joi!  