Answer
I say, and with God's success: The prayer is valid on a ship while sitting, with the ability to stand due to the likelihood of rolling and the fear of falling. It is necessary to observe facing the Qibla during the prayer, and God knows best.