There's no bug. Your health "withers" when you are not in combat to keep the pace of the game up. I think you would've been okay if you got a hang of the parry! It's not really a game where you can afford to take your time.
Thanks for playing though!