<a href="https://en.wikipedia.org/wiki/Atiyah%E2%80%93Singer_index_theorem">Index theorem</a> of Atiyah and Singer closed a substantial field of research in the 1960s. I knew people who were working in this field, and had to switch the field of their research
completely.

A more modern example is Louis de Branges proof of the 
<a href="https://en.wikipedia.org/wiki/De_Branges's_theorem">Bieberbach conjecture.</a> There was a large field of research, I would say a central field
in analytic functions theory, which could be called "coefficients estimates".
To be sure, it still exists, but nowadays it is considered marginal. Contrary to all expectations, the highly original proof of de Branges's theorem did not lead to a significant further development (so far).

Another commonly mentioned example is Hilbert's results in the 
<a href="https://en.wikipedia.org/wiki/Invariant_theory">theory of invariants</a>. They closed the field in some sense, though not forever.

It also happens sometimes that a new breakthrough does not really close the field, but many people have to switch to another field because they are not equipped to understand the breakthrough. I do not want to give modern examples of such a sad situation, but according to Lev Pontryagin's own <a href="http://ega-math.narod.ru/LSP/book.htm">published recollections</a>, he switched from topology 
to applied analysis in 1950s
because the new abstract language introduced by the French revolutionized the area, and he could not stay in line with the modern development. (Pontryagin was one of the most prominent topologists of his time, and he was 42 years old in 1950.)

Another related phenomenon is an appearance of a definitive exposition of a subject which condemns much of the previous work to oblivion. An example
is the book Orthogonal polynomials by Gabor Szego. It did not close the subject,
far from it, but most people stopped reading and citing previous work.
(Same thing that Euclid and Ptolemy did to their predecessors).