Places where employees have physical keys face a similar problem; what to do to keep an employee that was fired or quit from having access to things of value they shouldn't be able to access anymore. This is a big part of why key fobs are so popular since you can have thousands of unique ones to enable or disable.
I worked at hotel once where I had keys to everything and I would take them home nightly at the end of my shift. When the hotel changed ownership one of the changes implemented was anyone with hotel keys had to lock them up in one of the front desk safety deposit boxes when their shift ended. At the time I thought this was pointless security theater that wasted 10 minutes of my day. In retrospect, it was probably so we could safely be fired if necessary with our keys still accounted for.
I worked at hotel once where I had keys to everything and I would take them home nightly at the end of my shift. When the hotel changed ownership one of the changes implemented was anyone with hotel keys had to lock them up in one of the front desk safety deposit boxes when their shift ended. At the time I thought this was pointless security theater that wasted 10 minutes of my day. In retrospect, it was probably so we could safely be fired if necessary with our keys still accounted for.