For this case, you could use `off` method, which allows removing the eventListener for a specific event, while specifying its name. For your convenience, I am attaching sample project, where this scenario has been shown.
More info about the Events
in NativeScript and the way for adding and removing event handler review this article
from the documentation.