The water in the locks, and in Gatun Lake is fresh water. The water after the last lock is salt water, so even the the ship is still in the canal, it is in Pacific Ocean water.
After exiting the Canal, the ship is in the Gulf of Panama. She has to sail south for a bit longer and when she...