  We show that a reservoir computer is an effective tool for model-free
prediction of extreme events in deterministic chaotic systems. This prediction
allows us to suppress unwanted extreme events, by applying weak control
perturbations to the system at times preceding expected extreme events. The
effectiveness of such a prediction and prevention strategy is demonstrated for
a system of globally coupled FitzHugh-Nagumo neurons and for a system of two
almost identical unidirectionally coupled chaotic oscillators.
