You can use the Quiesce menu option to immediately force all users off a database. Similarly, you can use the Unquiesce menu option to return the database to an active state so that all users can access the database.
To quiesce or unquiesce a database, you must have SYSADM or DBADM authority.