Time dilation requires either mass or acceleration , in your scenario that would be mass only you take it away.
Now you probably have read that black holes attract mass because of their huge gravitational fields they generate.
Now after the Event horizon the gravity is so huge that not even light (photons) can escape , now if you take away the black hole but still want to keep the time dilation that would also require to keep the effect of mass falling inwards to the center point (singularity) with a speed of greater than c.
For all I can think of the sword would get very stretched and distorted and would be "sucked" in towards the singularity.
Although if the ninja would be the size of the solar system the ninja himself would probably be a black hole before he had a sword to slice through another black hole, because a star or an object which has the mass of more than our sun after using the energy that fusion gives collapses to a black hole , now since a ninja is not a thermonuclear fusion reactor or has no other way of keeping his mass against a gravitational collapse I would say this thought experiment is impossible even in theory.
The ninja himself together with the sword would be in an accelerated (due to gravity) frame , yet he himself would not notice that as far as only his time would be running slower and slower also for the sword if we take the sword as an observer.