LM2586 - Inductor Heats Then Burns
I'd suggest your B340A diode is avalanching since you are far exceeding its reverse voltage rating.



The diode must standoff the voltage you generate, so you need a voltage rating above your capacitor voltage. I'd use something in the 75-100 volt range, and perhaps an ES07B would suffice.