His collaborationism with the French Army and the military incompetency in the Orange War campaigns, were published in"História Geral da Invasão dos Franceses" ("General History Of The French Invasion") by José Acúrsio das Neves, resulting in a public polemic. Stocker responded to this by personally publishing "Cartas ao autor da História Geral da Invasão dos Franceses em Portugal", which the Royal Academy refused to publish. The controversy did not subside, and he continued to post various opinions, including his "Investigador Portuguez" to refute public opinion. However, despite being despised by nobility and public classes, he succeeded in reintegrating into the Portuguese military, being promoted to Field Marshal and restarting his career, against all odds.