This happened to the Danish name "Søren", which sharply declined in popularity during the life of Søren Kierkegaard, the prominent 19th-century philosopher. The name was rather common at the time, and we see it fossilised in the Danish surname "Sørensen".
He was intensely ridiculed by the press in what historians now term the "Corsair Affair", and Walter Lowrie describes the relevant consequence:
"S.K. was the last Søren, or rather it was he who spoiled this name for future use. The popular ridicule heaped upon the greatest writer in Denmark made this name so ridiculous that "don't be a Søren" was said as a warning to children".
Source:
Walter Lowrie, A Short Life of Kierkegaard, p. 23
In Mexico at the beginning of the XX century, the long lasting president Porfirio Díaz was overthrown by the revolution, he became the ultimate bad guy of national history.
By that time, and some years later, Porfirio was a common name and as a typical practice that survives nowadays, a lot of stuff was named after him: streets, squares, even a town at the border with Texas.
After the revolution all those those things that resembled the old regime (Porfirio's gov't) were changed at least by name, some stuff continue working exactly the same way, under a different administration. The town named Ciudad Porfirio Diaz is now known as Piedras Negras, its original name, and peope named Porfirio became less common.
Sorry, we don't allow throughout history questions. These tend to produce threads which are collections of trivia, not the in-depth discussions about a particular topic we're looking for. If you have a specific question about a historical event or period or person, please feel free to re-compose your question and submit it again. Alternatively, questions of this type can be directed to more appropriate subreddits, such as /r/history or /r/askhistory.