When prompted that the interview is over take your time in packing your things, rather than rushing to leave. Don’t loiter either though, just make it clear that you aren’t in such an awkward position that you need to quickly exit. Shake hands again if possible and clear up any last questions that you might have. The interviewer will likely let you know how and when the interview process will be finalized. Make your exit deliberate as you did your entry.