The bit that you removed is just the lock. The actual electrical switch beneath is a separate unit and more difficult to get at, but they are known to fail sometimes.
The barrel you removed does have to pop-up. Does it do this, or is the spring not doing this? It's ages since I did this and I can't remember if the spring is in the barrel or in the switch beneath. But if that is stuck or broken, it could cause your issues.