EDIT: oops, I misread the part "after the last occurrence". Sorry
To find out that the occurrence is the last, awk has to search through the whole file. So you either need to scan through file twice (once in the BEGIN block, to find which is the last), or save the lines in an array, which may overflow your memory, if the file is really large. So I would make use of 'tac' which will print the lines in reverse order: