Yes it will, basically for the same reason you can cause a swirl of a liquid that fills a square container, but can’t rotate a solid inside a square container: in liquids and gases, molecules aren’t tightly packed, and aren’t (strongly) connected to each other, so even small forces can make them move.
What’s more, the liquid will move even if you don’t shake it. See https://en.wikipedia.org/wiki/Molecular_diffusion, or https://en.wikipedia.org/wiki/Brownian_motion