Exit button(long press return button) in Samsung smart remote is not triggered

Exit button is not triggered. Actually in samsung smart remote there is no exit button directly.I have added this below code too.
tizen.tvinputdevice.registerKey(‘Exit’);
Exactly how to trigger exit button in smart remote?