Does anbody know how to free locks on a database using ADO

I know in DAO you can use the DBEngine.idle method but this appears not to work as the I can't release the lock on the database. It claims I still have a connection to it.

AAARRRRRGGHHHHHH!!