I'm trying to understand how a sailing yacht has a pool on the aft deck. Do boats this size not heel much or is there some clever way to prevent all the water pouring out?
Now, once you anchor, if there are waves coming from a direction other than the bow (because they refract around whatever is sheltering you), and those waves are roughly the natural period of oscillation of your boat’s roll… then you get things flying out of cabinets and trying to sleep while clinging to your bunk. Scaling up to a mega yacht makes your roll period long enough that it isn’t so much of a problem.
All that said, I’m sure they have tanks for the pool water, since it is probably fresh water.
I edited my comment since I guess "sloshing" was the wrong word for a constant incline.