Even if it did, “subverting expectations” happened. Franky is the example. Franky actually wanted to leave, but he felt that he needed to be with his family. But his family knew he wanted to leave and forced him to achieve his dreams, so they worked together with the Straw Hats.
This is pretty similar case. If Yamato wanted to stay, Wano citizens will force her to achieve what she wants to. As for the crew, we take from Franky’s case again: they’re pirates. They will take the treasure when they see it (in this case: Yamato)