Quarantine database - remembered permanently??

Stupid question I expect, but when it says keep messages in this database for x days, I then wonder what happens to them at the end of that period - do they merely disappear from the database I can see, but are 'remembered ’ by the program, or at the end of the period do they disappear from the program permanently?