Still have to pay car insurance after selling the car?

I had an accident a couple of months ago, my car was written off so i bought another car which i've now sold because i dont really need a car, but my insurance company wants me to pay the remains of my policy, i take it there's no way to get out of this?