It might be worth looking in the switch. That cable (3 core and earth) might come direct from there and it would be better to ditch it from there rather than leave a live connection in the wall.
Or it might come from the light, so same applies.
Worst case, it might come from an inaccessible junction box then you might have to join. Would be better if the joint could be in an accessible enclosure.
How does the light work at the moment? Only comes on when triggered or can you over ride it?