I'm having trouble finding a definite answer to this. The last few summers, I've put small amounts of fruit in glass canning jars, covered them completely in alcohol, screwed the lids down very tight and put them in the back of a dark cool(ish) cupboard. I make things with the fruit and I use the fruit-infused spirits in cocktails. I always let the jars sit undisturbed at least 4-6 weeks before opening, then usually use them up within 3-4 weeks once I do. I give them a little shake to settle the fruit about once a week. I've never gotten sick from this.
Now I'm getting a little paranoid about food safety, mainly because this year I'm going to give some of my boozy fruit as gifts. Is it necessary to refrigerate these jars as they do their alcoholic thing? Some of the instructions for this on the internet say to refrigerate, some don't mention it. The jars haven't been canned in a water bath or pressure canner and the lids are just screwed down tight, not officially sealed with the "pop." I always sterilize the jars in the dishwasher or boil them in water first. I always cover the fruit completely with alcohol.
You deserve a cookie.