It will most likely kill the diode. You say you use a ceramic cap. 18uF is a lot for a ceramic cap, it's likely a physically big cap, but whatever. Ceramic caps have somewhat low equivalent series resistance, so you'd be just dumping the whole charge through the diode, with current limited only by parasitistic resistances.
Use a resistor in series. It will shape the pulse.
For maximum transient current of 1A, you will need a 22.3 Ohm resistor, no smaller, preferably a 27 Ohm one.
For a longer pulse of Imax = 350mA, you will need a 64.8 Ohm resistor. You'll be able to find a 56 Ohm or a 68 Ohm one from E12 series.
JS