If the accident wasn’t your fault, your insurance provider will try to recover the costs from the driver who was at fault. In which case, your NCD should be unaffected. That is what I think you anyway.
You should contact you insurance company they will sort it out for you.