The only realistic threat is a rogue launch from the likes of Russia or a terrorist attack, neither of which would be deterred by Trident (or any of the other systems people have proposed, for that matter). The entire concept of deterrence is deeply flawed and a throwback to a bygone era.
you have answered your own question!
As already stated, Trident may be be used in retaliation - rather than a deterrant.