Children's book - "the train jumped off the track"

My mom is trying to remember the name of a book she used to read me. She used to get it from the library (in Knoxville, Tennessee) for me, and all she remembers is the line "the train jumped off the track" and that it was a children's book. Given my age, the latest this could have been published is 1978.

She also thinks there was a cow that sat on a thumbtack, and other animals, but I think she's mixing up the lost book with "There Are Rocks in My Socks!" Said the Ox to the Fox, which was a favorite of mine.

Any ideas?
Did a caboose get stuck in a tree?

It could be "The Caboose Got Loose", by Bill Peet. It's been awhile since I read it though!
I just called her to ask, and she says that doesn't sound familiar, but knowing her memory, I'm going to see if I can find this in the library and check for myself.

Thank you so much!
How about Tootle? It's a little golden bok about the joys of conformity.
Yes, Tootle is what I was thinking, too.

He jumps off the tracks and goes cavorting around in the meadow wearing daisy chains and such like.
I remember that book, and I'm fairly certain that it's the one you're looking for.
This sounds promising, but my mom says that the title isn't ringing any bells for her. But thank you!
I know I'm late entering this discussion, but I'm going to disagree about it being Tootle, because they don't talk about the track, they talk about staying on the rails (no matter what!). My son is obsessed with trains and periodically wants to hear Tootle over and over.
If that's your kid in the picture, it's hard to blame you for giving in!

My mom seems pretty certain that the book is not Tootle, but she also can't remember any other details that would help identify the book. Thanks!