Scaredy Engines is a Thomas & Friends Halloween episode.
One Halloween, after Edward tells the other engines a story of a ghost engine that returns to the Smelters in search of his lost whistle, Thomas, Percy, and Duck are sent to collect a special from the smelters. Thomas delights in teasing Percy about Edward's ghost engine and, when an engine is needed to get another load, Duck volunteers Thomas. Thomas is not so confident when he is all alone, and when he runs into some chains and sets off a whistle, he is petrified and runs away. Percy is concerned when he cannot find Thomas at the Halloween fireworks display and goes looking for him. He eventually sees Thomas at Tidmouth Sheds and forgives him for his teasing, and they both agree you can be scared some of the time. The two, happy to be friends again, watch the fireworks together.