In the original story, Pinocchio squished the cricket to shut it up. It continued nagging him as a ghost.