The Hamada clan was on the shogunate 's side in the Meiji Restoration , and the castle was burned down . Hamada clan was on the shogunate 's side in the Meiji Restoration , and the castle was burned down .