Ferry crossing and driving/rest hours

Just a quick question,

On arriving at a French port. On nigh on 13 hours to: ie. Start 0415. Park in dock 1715. Can I move onto ferry after this time? Using ferry mode before I move of course. Tho I have booked off and entered end country. Thanks