i did this too. If banging it doesn't work, the front bit with the cigarette logo unclips, then you have to try and wedge a screw driver in the side. It is possible to get it out with only a little damage to the internal side of the ashtray.
good luck