I have experienced this situation myself. The boat was a 20 meters cruising boat and sailing no faster than 12 kts. The tallest part of the boat was only 6 meters over the deck where I was. I launched my Mavic Pro from the bow of the boat and suddenly she was flying to me (@ 12 kts, I guess), I avoided and collided with the cockpit. Fortunately, the drone flipped after the collision and ended up capsized on the deck. Only two props broken.
Nice story!
I changed the damaged propellers, I went to the stern of the boat to try it again. This time I position myself in a safe place, the Mavic took off and remained hovering, though the feeling was like the Mavic was flying away at high speed. I have to say that the Mavic was hovering in the place where she took off and was over the boat no more than two seconds.
After testing some Active Track modes was time to land. Forget about hand catch: it's too dangerous for your friends finger; not yours because you'll be very busy with the remote. At the end, I landed by crashing the drone over some mattresses I distributed on the deck.
The conclusion is, as WithTheBirds says, the Mavic doesn't know she was launched from a moving vessel and she was happily hover in position, but I was not. To land you have to fly at the speed of the boat plus the wind you have in that moment, which is not an easy manoeuvre. It was an exciting experience but too dangerous for the people around and with a high risk of end up with the drone in the bottom of the sea.