No, you don’t lose your no claim bonus if you stop driving. You only lose your NCB if you make a claim in the policy year, or don’t renew your car insurance policy before its expiry date.