Nissan 100NX - Personal Contract Hire and car written off - Chucks

Hi, a quick question around PCH. I entered into a 4 year lease contract where at the end of the period you hand the car back. If the car is written off I understand that the insurance company and lease finance company settle directly based in the car's current value. Is it as simple as this? If my lease contract was for a total of £8000 over the four years and I have paid out over £3200 to date, if my vehicle is valued at say £10,000 (it is only a year old and its sale value was £14000), am I correct that the insurers pay the lease company the money owed on the lease and I receive the rest? I am not responsible for any further money as the car has been written off and therefore cannot be returned at the end of the lease period?

Thanks,