I'm intrigued as to how you managed wander everywhere harmonically and end up at the same place as if you were never gone.
to find the right moves, the writer really never knows what it's gonna be. for best results, almost like a sneeze, you have to almost forget your trying. you have to be very open to where the song wants to go. trying to tell the song where you want it to go will make no one happy. It's also quite common and normal for a song to find its way back to the same key as it was before, when returning to the same part. but you have to be open to whatever the song wants to do. Sometimes the song will easily yank back to F (if it was in F before). Other times, it may want nothing to do with F. And, of course, you have to also be open to not just the chords but, as always, the sum total of what the melody, chords, words, and any other context, is doing. that's the only way to really find where things go at any given time