thank you for asking HCM.
Your problem is most likely vasovagal syncope
. If you normal with your cardiac profile then nothing to worry. It could have occurred due to your blood loss in surgery. Most of those attack will subside without medication. Hope this may help you.
Let me know if you have any further queries.