Rabbits are cute, but they can be devastating to a garden. It is amazing what one small rabbit can do.
There are ways to control them without killing them. One way you can control them is to fence in the garden, using chicken wire or similar material with small openings. The fencing material must be at least two feet high so they can't jump over it and buried about six inches so they don't dig under.
There are also other means of control, such as sonic devices and water sprinkler repellents that repel rabbits as well as other animals. And liquids that make the plant taste bad so the rabbit doesn't eat it.
You could try using a Havahart live animal trap and put some tasty lettuce or a carrot inside, but if your garden is full of other delights, the rabbit may not go for the goodies in the trap.