Leaf the rake alone
It is quite common for dogs to bark at and "attack" rakes, shovels and vacuums. We do a baseline training of the PLACE command and a DOWNSTAY and then ad distractions
above are some photos of what we do all day long 7 days a week.
a short video of dogs with some pretty high level distractions, with the PLACE command we want dogs to stay on the mat, they can sit, down, stand or spin around as long as they don't get off the matt