Spy-case academic says he will quit