We tried that with our cat. He was not the least bit interested or disturbed.
Nice how the cat, after having the crap scared out of him and leaping, positioned himself mid leap to confront the evil cucumber in case he needed to protect himself or attack.
Cats interpret the cucumber as a snake and react accordingly.........