Energy that is passed on to herbivores come back to autotrophs.
The flow of energy is unidirectional. The energy that is captured by the autotrophs does not revert to the Sun and the energy which passes to the herbivores does not come back to autotrophs. As it moves progressively through the various trophic levels, it is no longer available to the previous level.