Technically, the Yarra River does not flow into a bay—it flows into Port Phillip, a large, semi-enclosed embayment that is a bay by most geomorphological definitions, but is formally designated a port due to its commercial shipping function.
"Bay" describes form: a coastal indentation where land curves inward.
"Port" describes function: a harbor with facilities for loading/unloading vessels.
Port Phillip is both. The Yarra's estuary hosts the Port of Melbourne—Australia's busiest container port—hence the official name. But geologically, it's a drowned river valley (ria) formed when post-glacial sea-level rise flooded the lower Yarra valley ~7,000 years ago.
The Yarra-Port Phillip interface supports:
So: the Yarra flows into Port Phillip. Call it a bay, call it a port—it's the same water, and its health depends on what the river carries from 4 million Melburnians upstream.