Let's introduce some pragmatic thought here: In a house of this age which, by the sounds of it, certainly hasn't had a full rewire in a long time, there are probably many other junction boxes under floors and in other places which might not be regarded as accessible today. In an ideal world it might be nice if the other end of that cable could be located and disconnected. There's a chance it might actually just be tapped from some other easily accessible lighting outlet or switch box rather than being from some other hidden junction box, in which case it could be. But if it can't be located and disconnected easily, the solution
Milleniumaire has adopted following the advice given here is certainly far better than his original idea about just taping up and burying in the wall, and as Bernard has pointed out, the now-hidden junction box will not be carrying any current anyway since it's a dead-end cable.
Frankly, from what I saw of the so-called "maintenance-free" junction boxes of more recent years in the U.K., I wouldn't trust them to be any more reliable when not accessible than I would a regular screw-terminal type anyway.
A couple of more general points:
In my house ALL cables are "within a wall" or "under floorboards". So does that mean none of them are accessible?
The current rules in BS7671 require that non-maintenance-free junction boxes and other connection points be accessible, but not the cables themselves. If cables had to be accessible throughout their length it would make it practically impossible to ever run them within the fabric of the building rather than on the surface.
So, if 'under floorboards" is not usually regarded as 'accessible' why are "standard" junction boxes used to connect cables?
As mentioned already, there are still places where they would be regarded as accessible, such as in an attic. And by the way, this whole business is a rule within BS7671 (the generally accepted standard for wiring in the U.K.), not within the actual building regulations.
As with some other rules, sometimes people can't agree on a definition of "accessible." I think most people would be in agreement that a junction box hidden inside a stud wall with no access but for cutting a hole in the wall is inaccessible and that a surface mounted one on a wall clearly
is accessible, but there's room for a grey area where opinions might differ.
Back in the early 1970's my father completely rewired the 1930's home we moved into when I was young, and ended up using quite a few junction boxes under the floors, including the upstairs. But after pulling up floorboards for the rewire, he was quite meticulous in making sure that at every point where a junction box was located he fitted battens and small, easily removable sections of floorboard which were screwed down rather than nailed and were marked to indicate a junction below. He even did that on the downstairs which had a small crawl space beneath so that they could be accessed from above without the need to crawl under the house again.
Personally, I would say that if done like that today I would regard those junctions as accessible.