It`s good that you recognise it as a blunder. Rex is right, BR management is a key part of your game, just as important as your skills at the table.
For comparison, I have run bad now for three months, by far the worst downswing of my poker career. A lot of players would be busted by a thing like that. However, in my case, I play so far within my BR that I could continue to lose at the same rate for at least 3 years before I went bust.
When you manage your roll that way, the money really ceases to matter. It is just a way of keeping score. and that makes you more or less immune from tilt and from bad beats.
Back to the grind, m8.