I can see a parallel world where he decided to get off the boat and we're reading an article about how he lost all that time and won't be able to recover wages, and some HN commenter goes "oh well he should have just stayed on the boat, he got off willingly, so all this discussion is moot".
The reality is this guy was put into a nightmare situation by a combination of his company not appearing to have planned properly (or cared enough about this outcome to prepare for it) and Egypt's ridiculous law where someone can be legally responsible for a ship they have no ownership of. Expecting him to correctly navigate international laws to determine what the action is for him to get off the ship but get paid for the time as he deserves seems somewhat ridiculous. In reality, this situation should never have happened in the first place and I place the vast majority of the blame for that on the company and Egypt.