Silly Sammy I'm glad that nothing seems to be wrong and that you are comfortable going to gym again! I am a male coach and have, on accident, touched some students inappropriately at times. This was due (usually) to a few factors:
1. Inexperience on my part. I have only been coaching for four years. These past years and I'm sure for many years to come, many spotting techniques I learn on-the-job or in brief seminars. If you've ever heard the mantra "practice makes perfect" then you will know what I'm talking about. Until I spot something about 500 times I will not be very proficient at it. Sometimes I make mistakes when I spot and I always let the gymnast/tumbler/cheerleader know that it was not their fault and that I am sorry for the poor spot.
2. Unexpected/uncommon movements. Let's say Suzie Gymnast has had a back-handspring back tuck for about two weeks or so. She is doing them fairly consistently, and only needs little to no spot. Basically she can do them by herself it's just getting over the mental block and doing it. The coach is standing there and all of a sudden Suzie Gymnast decides halfway into her set that she doesn't have enough height for her back tuck and "freaks out". In this instance if I was spotting I'm going to do whatever I can to make sure I either: A. get Suzie over to her hands/feet or B. stop the rotation and put her back down on her feet. IF this means touching her inappropriately then so be it, I would rather apologize for touching her chest/buttocks than call an ambulance. Also all of this happens in less than a second, in my haste to spot I may make an error in where I place my hands.
3. Honest-to-goodness mistake. Sometimes, I admit, I am not totally focused on my task at hand. 99.9% of the time I am focused, and it is not right for me, as a spotter, to not have 100% of my focus on spotting. However, sometimes my focus slips and I am thinking about something else while spotting, and at these times I can make an honest mistake and not notice where my hands go while I am spotting. Also during the times I am focusing I may make an honest mistake and simply miss a spot and have to catch a gymnast in an un-appropriate manner.
If I were you you Silly Sammy, I would ask myself if this incident falls into one of these three categories.
1. Is my spotter/coach unexperienced in general or unexperienced with the particular skill or drill I am doing?
2. Did I do something uncommon? This doesn't necessarily have to be a bad thing, I have accidently touched a tumblers bottom when they had an unusually high set for their back tuck.
3. Is it possible that it was an honest mistake? Sometimes a coach simply does not notice, or is too embarassed to say anything about it.
IF you are in any way concerned that it was intentional, I would use the three strike rule (where strikes are "incidents" where you feel you were touched in any way that may have been intentional):
Strike 1: Tell your parents of your concerns, they should know right off the bat if you feel uncomfortable about ANYTHING at gym.
Strike 2: Go with your parents to the head coach or owner of the gym and express your concerns.
Strike 3: This is the extreme case, if the above strikes have not cleared up the issue, there are a number of options here, including finding another gym, legal action, and a few others; if you are in this deep your parents and head coach are/should be taking care of things.
That being said I wish you the best of luck and keep us updated!