Answer:
Change, or increase, the buoyant force.
Step-by-step explanation:
As the salt water of the sea is denser than the river's fresh water, the boat will rise when entering the sea from the river and sink (to increase the buoyant force) when entering the river from the sea.