the action unnerved villeneuve who abandoned his plan to reach ferrol , changed course for cadiz , but then foul weather forced him to put into vigo to re-supply and just to add insult to injury , napoleon , increasingly frustrated at his admiral 's inability to get his act together ordered him to sail for the straits of dover where his invasion force was gathering .