He is free to walk out. No one put a gun on his to get interviewed by Karan Thapar. Modi knew what Karan Thapar is and thought he is smart enough to get the better of him as he is used to dealing with only dolts.
Except for die hard supporters of Modi - everyone who saw the interview felt real pity for Modi and that is not a good opinion for a person claiming to be a strongman.