Nagayama's quest for gold ended in the quarterfinals.