I'm curious, have you read JL Collins stock series already?
Did you react this way because you don't know better or because you do know this stuff intellectually, but freaked out anyway?
If it's that you just don't know, then you can easily read your way towards understanding why what you did is absolutely ridiculous.
If you already know why it's ridiculous, and why people are teasing you, but you did it anyway, then you have a much bigger issue on your hands.
For example, if you only have 30K, that means you are at the very, very beginning of your investing journey. Are you aware that a market crash lasting many years would be the greatest thing that could possibly happen to your money right now?
With only 30K in the market, you should be praying for a crash soon.
So if you are anticipating a crash soon and reacted with fear, you have 3 major logical problems
1: Far smarter people than you have failed to predict crashes, far FAR smarter people than you who make enormous sums of money for their predictions, and they fail all the time. You are more likely to predict a market crash by chance than by insight.
2: In the words of MMM himself, there is ALWAYS a crash coming. If your investing plan doesn't account for crashes, it's a stupid plan. A crash isn't like losing your job, where it could happen, but it's devastating. A crash is a normal part of the cycle, it's just incredibly difficult to predict it's timing.
3: If a crash is stressing you, and you aren't about to retire, then you don't understand what you are doing. As I said before, your reaction to a nearing crash at this time should be opportunistic glee, not fear over a piddling 30K.
In summary: a crash is coming, no one can predict exactly when, and there's no reason to be afraid of it. If that is not intuitive to you, then you either haven't read enough, or you have and need to do some work on your psychological connections between your feelings and your reactions.
So, for us to best help you, don't just do what strangers on the internet tell you to do with your money. Let us know what you have read and why you did what you did, and we can perhaps help guide you towards resources that might be able to settle your mind and focus you on more productive ways of thinking about your investments.