I was fighting on a beach and went to heal myself using the Y button to access my food. Just so happens I was standing on a fishing spot, so I cast my line into the water and was immediately killed by my enemy.
Is it possible to prevent fishing (or other resource harvesting) when in combat?