A moray eel rests in a reef crevice and makes hunting trips to a patch of prey. See the best time to stay on the patch from the marginal value theorem, how the danger of predators shortens it, and the energy and survival over many cycles, with every number checked.