You searched for: “catadromous
Migrating from fresh water into the ocean to spawn or fish that live in fresh water, but breed in the sea.

Catadromous fish are freshwater eels of genus Anguilla, whose larvae drift on the open ocean, sometimes for months or years, before traveling thousands of kilometers back to their original streams.