The interesting thing is that diode was there to protect the rest of the circuit board from certain death.
Make darn sure you put it back with the correct polarity.
I fried a Korg Poly 800 because of using the wrong power supply and was not impressed that it did not have that 2 cent part there to protect a then $1,200 synth. Was a hard lesson to learn back then when I was also very broke. Hmm, actually I'm still broke!
Ever since that day I am in the habit of clearly tagging all the ends of my power supplies.
Right now I have my Scarlett 6i6, A Joe Meek Pre amp and a small Mackie mixer that are all totally different power requirements but use the exact same size connection for the wall wart. I do not desire to find out the hard way if they have that diode at the power supply input.
I use little labels AND color coded stickies.