Au contrarie, the reason Magellan and even Columbus had existed was because the Mediterranean had become a lake controlled by the Ottomans and their vassal Barbary pirates due to their usage of military science and technology better than the rest of the European powers. As a result all of North Africa and significant chunks of the Middle east and Caucuses were controlled by the same lot. That caused problems with trade and alternative routes to India and China had to be found.
First was going around Africa. Then Columbus decided that it would be quicker with the help of the trade winds to cross the Atlantic and end up in India but alas, his luck ran out, eventually he ran aground on a brand new-to-Europeans continent on his way.
Meanwhile Barbary pirates kept plundering all the way to Wales for many many decades.