No, the herpes virus dies quickly once exposed to air - all STDs do - so if it had been sitting in a drawer for 5 months, you're fine.
When people talk about sharing toys and cleaning with soap and water, they mean if you are going to share it immediately with someone else, which is also a really ineffective way to transmit STDs anyway. It can happen, but isn't all likely.
Cleaning your own toys in between uses helps remove yeast, if you have it, and prevents bacteria from growing.
So you're fine. :)