Might have popped on one side. Get a small vice grip and pull the cables gently in the drivers footwell to pop both sides or to find if one has snapped. If one has snapped there is another thread on here on opening a bonnet with snapped cables.
The microswitch is on the battery side catch and needs a bit of stripping to get to. My micro switch broke off the latch over 2 years ago so I put a clothes peg on the microswitch which is still there since.