root.destroy()

Read more of this post