Landlocked.
Zambia
Portugal is the small country connected to Spain on its left side by the Atlantic Ocean
land-locked
The Bering Sea is connected to the Pacific Ocean.
I don't know which term you are looking for, but one does come to mind, landlocked. Now be nice to monkeys
they are both connected to the Indian ocean
A state that is not connected to other states is often referred to as a "landlocked" state. This term typically applies to a country or region that is entirely surrounded by land and lacks direct access to the ocean. Landlocked states may face challenges in trade and transportation due to their geographical isolation.
The Mediterranean Sea is connected to the Atlantic Ocean by the Strait of Gibraltar.
I don't know which term you are looking for, but one does come to mind, landlocked. Now be nice to monkeys
The term is landlocked. So Uganda is a landlocked country.
North Atlantic Ocean
The Persian GULF is connected to the Indian ocean through the Strait of Hormuz, but if you want to get technical, it is really connected to the Arabian Sea, but it itself is a section of the Indian Ocean's overall area.