This happened to me as well, moved into an enemy and couldn't do anything nor move anymore
Viewing post in nano_ruins jam comments
By the way I simply avoided to walk in the same time as an enemy and completed the game, it's pretty well exectued, I like that you're using stamina instead of long cooldowns, the context, art and advanced layout of rooms are immersive and the choice of how to spend your experience is always a plus.