In order to kill an active connection to the database, run following command on your master database:

SP_WHO

This will return a list of all active processes, select the ones that point to the database you need to modify and run following command for every connection you want to disable:

KILL [ID OF THE CONNECTION]