The dynamics of starvation and recovery