what to do with rabbits in the garden

Plant marigold`s around it and they will stay out. They hate the smell.