Has it completely snapped or just gotten loose?
If it is just loose you need to bang about half way up on the "hump" on the bonnet just to the left of it (driver's side).
Worked perfectly on my old car every time
.
Otherwise can you see any of the loose cable? Hopefully it hasn't snapped in the engine bay so you can just get pliers on it and pull to release.
Or jack the car up, take off the under panel thing and then work up to the cable and pull with pliers?
If it is just loose you need to bang about half way up on the "hump" on the bonnet just to the left of it (driver's side).
Worked perfectly on my old car every time

Otherwise can you see any of the loose cable? Hopefully it hasn't snapped in the engine bay so you can just get pliers on it and pull to release.
Or jack the car up, take off the under panel thing and then work up to the cable and pull with pliers?