Normally the ship’s captain isn’t in-charge in the canal. The Suez Port Authority has pilots you have to hire for that.
[0]: https://www.reedsmith.com/en/perspectives/2020/10/when-commo... - and the (linked) full judgment is also interesting; the pilot of the ship that caused the collision wasn't doing a good job on that occasion!