When a surface current collides with land, the current must change direction. In the figure below, the Atlantic South Equatorial Current travels westward along the equator until it reaches South America. Near Brazil, some of it goes north and some goes south. Because of Coriolis effect, the water goes right in the Northern Hemisphere and left in the Southern Hemisphere.You can see on the map below the major surface ocean currents that the surface ocean currents create loops called gyres.
The Antarctic Circumpolar Current is unique because it travels uninhibited around the globe. Why is it the only current to go all the way around?