Gear cable head stuck in Shimano Sora lever
In the interests of closing the question I'll answer it.  

I took it to a shop and the mechanic managed to pry it out using a tool a little like a screwdriver (but with a pointed end) while applying pressure to the cable.