Often, they end with the restoration of the original time line. For instance, if someone had changed the past, they might find a way to reverse those changes so that the future is as it should be.
Some 'time shift stories' end with a mystery still intact. The time - shifting events might have opened up more questions than answers. For example, a character might have glimpsed a future or past event that is so strange and incomprehensible that it leaves them (and the readers) wondering what it all really means. Or the ending could be bittersweet, where the character has achieved something through time shifting but has also lost something in the process, like a relationship or a part of their identity.
Many 'time shift stories' end with the character having learned a valuable lesson from their time - shifting experiences. Maybe they realize the importance of not messing with time or they come to understand a greater truth about life. For example, a time traveler who went to the future and saw a desolate world might come back and work towards preventing that future, and in the end, succeed, leading to a positive and hopeful ending for all. Another way they can end is with the character accepting their new position in time, like if they got stuck in a different era and they build a new life there, content with their new situation.
They often end with a resolution of the problem that started the time - jumps in the first place. For example, in 'The Time Traveler's Wife', the story ends with a kind of acceptance of the time - jumping situation, and a bittersweet moment of goodbye.
Often, they end with a restoration of the original timeline or a new, better future being created. For example, in 'Back to the Future', Marty manages to fix the past and returns to a present that has been improved.
They often end with a new understanding of the consequences of time - replacement. For instance, the character realizes that changing one thing might have caused other problems, so they learn to accept the original timeline in a way.
Time loop stories can end in different ways. Sometimes, like in 'Edge of Tomorrow', the main character sacrifices himself in a way that breaks the loop and saves the day. In other cases, the character may figure out the root cause of the loop and find a way to stop it from ever starting again. This could involve fixing something in the past or making a different choice that changes the flow of time. Another way is that the loop itself might transform into something new, like in some more complex science - fiction time loop stories where the loop becomes a stable, but different, timeline.
Often, they end with the time traveler either returning to their original time and having a new perspective on life. For example, in 'The Time Machine', the protagonist comes back with a deeper understanding of the future of humanity. Sometimes, they end with the traveler changing the future for the better, like in 'Back to the Future' where Marty McFly ensures his family has a more positive future.
Well, in many time travelling stories, the end can be about closure in the timeline. In 'A Connecticut Yankee in King Arthur's Court', the Yankee has made his mark in the Arthurian era but eventually has to face his own mortality and the end of his time - traveling adventure. Another way is that the time traveller may have learned a valuable lesson during their travels and return to their time a changed person, as seen in some episodes of 'Doctor Who'. There are also stories where the end is a cliffhanger, leaving the possibility of more time - traveling adventures open, but that's not as common.
Often, they end with the character either losing the power to stop time, like it was a temporary gift or curse that has run its course. For example, in a magical world story, the magic that allowed time - stopping fades away.
They often end with the restoration of the original timeline or a new, improved future. For example, in 'Back to the Future', Marty McFly manages to fix the past so that his present is as it should be. The time traveler usually learns a valuable lesson too.
Often, they end with the time traveler either returning to their original time or making peace with the new time they are in. For example, in 'Back to the Future', Marty McFly manages to return to his own time and also improves the future for his family. Sometimes, like in 'The Time Machine', the traveler continues on in the future they've reached, having learned something about humanity or themselves.
A different way they can end is with a twist. The character thinks they've broken the loop but actually haven't. Or perhaps they break the loop only to find themselves in another, more complex time - related situation. This keeps the mystery alive and leaves the reader with a sense of wonder about the nature of time and loops.