Question: when does katherine get out of elanas body

title: Gone Girl (The Vampire Diaries)
text: Stefan calls Katherine revealing her that they know and tells her that they have Nadia at the Salvatore house and if she wants she can run away to survive or come and see her daughter for a last time . Katherine chooses the latter and shows up at the Salvatore house . Everyone is there and they let her in with Nadia to say goodbye . Katherine apologizes to Nadia , tells her that she loves her and Nadia dies happy . Katherine stands and tries to get away but Damon is blocking the door . She seems to accept that there is no way out this time and she asks who has the traveler knife to stab her . She says goodbye to everyone in her own way leaving Stefan last . She kisses him and Stefan stabs her . Katherine collapses and leaves Elena 's body . 

Answer: answer: At the Salvatore house, Katherine says goodbye to everyone, then kisses Stefen and he stabs her, Katherine collapses and leaves Elena's body.