The lack of coordination of the shogunate led to a complete defeat