You really can't do this without closing your current session of Access.
Security in Access is built around "sessions". A session starts when you
open the Access application. Note I didn't say when you open a particular
db; security is implemented when you open msaccess.exe regardless of which
database you are in. To log off a user, you would have to log out of your
current session of Access.