Select an item in your database and show in Finder. Go to the upper level and you will see the database (unencrypted) inside the encrypted disk image. You can copy it out of the disk image and use it as an unencrypted database.
After copying please close the encrypted database. Then you can open the copied one.
@BLUEFROG, I cannot determine whether the automated unmount happened under Mojave or since Catalina since I just recently switched to encrypted DBs but have noticed the effect just recently.
I have created the encrypted sparsebundle image (APFS) with the disk utility, copied the database in it and changed the suffix to dtSparse. Since then (12 hours) it is not ejected.
That has always been different. Sometimes after a few minutes, sometimes after hours or a day. Even with similar use. However, what struck me today is that both (I currently use only two) encrypted volumes were ejected at the same time. That was probably always the case, because each time the other volumes were no longer mounted, as I noticed this at one. Only the timing of the ejection of the individual volumes was incomprehensible until today …
But I can safely say that other volumes (sparsebundle image) will not be ejected. I have several, which are mounted over weeks.
So far we still couldn’t reproduce this. Does this happen after a certain event (e.g. computer wakes up or will sleep)? Or when other volumes are (un)mounted? DEVONthink unmounts the volume only after closing the database.