Book Ends

-we came in?

Matching scenes at the beginning and end of a story, often to show how things have changed through the course of the episode, or to demonstrate that they haven't changed at all.

This is extensively used in kid's shows to illustrate the characters applying the lesson they learned today, which happens to apply to the issue presented in the beginning. Ya'know, just in case they didn't catch it. In any work, bookends are a way to show whether Character Development has occurred.

Compare and contrast Here We Go Again, How We Got Here, Where It All Began. See also Call Back, Ironic Echo.

Bookends don't always spoil the ending, but usually they do.

Isn't this where-