Can I cancel my car insurance if I sell my car?

If you’ve sold your car, you no longer need to insure it but it’s easy to forget to cancel that policy