After his time working for the Tsu Domain in Edo, Ueno returned to Nagasaki, but finding that Pompe van Meerdervoort had left the country, he gave up rangaku, or the study of Western science.
Poté, co pracoval pro klan Cu v Edu, se Ueno vrátil do Nagasaki, ale později zjistil, že Pompe van Meerdervoort opustil zemi, proto se vzdal rangaku a studia západní vědy.