Despite efforts by both sides to repair the damage , relations chilled again between 2001-2006 , when Japanese Prime Minister Junichiro Koizumi made yearly visits to Yasukuni Shrine for war dead , seen in Beijing as a symbol of Japan 's past militarism .