For anyone else who finds themselves in this situation, the following fixed it for me:
file the terminal disclaimer and pay the fee
submit an A.NE "Response after final action" documenting your oversight and confirming that you have now filed the terminal disclaimer
call the examiner, point out that you have done steps 1 and 2, and apologize
All this can ...