For me, playing QQ or even JJ for that matter, it all depends on position and how the table has been for the last few hands overall. Based on what you described, it sounds like a difficult fold but a fold that needs to happen.
Many times when I am in these situations, I do not reraise preflop if the initial raise was enough for my liking as then I am showing to be more passive and having a wider range of playing cards. Last night for instance, I was UTG+1 and had JJ so I raised preflop, was reraised by CO with 9 players on the table but we were now ITM with 30 players in the tourney left. He did not jam as he was 2nd in chips where I was about 20 in chips. I could have jammed back but I called and flop came AQJ. There was no getting out of this situation as he ended up with AA whereas I believed he had AK or AQ so I lead off he raised and I jammed to which he called. If I had jammed preflop or reraised, in both instances I was so short on chips for the hand that I would have been all in no matter what decisions I was given.
So it all depends on stack size, player agro level, position, and overall sentiments and hoping that you are not sitting there on tilt before or after the play. You made the right decision in the situation you described and should continue to play that way as it will have longer gains for you.