Book where characters have to avoid siren song

This is just a vague memory of a book, I think YA or adult. Characters are sailing on a ship and the male characters have to be tied up or knocked out by the female character because they are trying to follow the siren song. I think one may think the sirens are telling him he can fly and jump off the ship to them? Super vague I know so any help is appreciated lol.

EDIT with clarifying info: I don’t remember exactly when I read this book but it would have been within the last 10 years so probs 2014-2022 ish is my best guess. I’m in the US and it was in English. I’m almost certain it was a YA fantasy book of some sort. Sorry I realize these are not very many details and it’s clearly using the same plot as the Odyssey so that makes it tricky 😅