Thank you for posting your query on HCM.
well it seems that you got a cramp during exercise which is very common because due to excessive sweating
you lose electrolytes that lead to such problems .
but to be on safer side i would advise you to consult a gastroenterologist
get a ultrasound
abdomen done to look for any pathology.
hope it answers your query.
if you have any queries further feel free to ask.
wish you good health.