I had the same problem initially. You have to stun all enemies in a room before you can pick up your ingredients and leave.
yeah realised that, haha