In response to stresses, plants reduce photosynthetic activity and alter the source-sink flow. These processes lead to drops in crop productivity. I investigate how plants switch off genes related to carbon assimilation during immune reactions. This work will provide insights into the fundamental questions about the regulation of plant genes. Moreover, this information will help to find smarter ways to balance stress tolerance and plant productivity.