As indicated, you might have wiped the boot loader; it depends on which sketch you did upload. I can't talk about the old days but nowadays compiling / linking results in two files, one with and one without the bootloader.
But bootloaders have nothing to do with a board showing or not showing.
So you have to check what your operating system (hint: which one?) thinks about the board(s)?