In an effort to show that Indonesia appreciated the American military assistance , the commander of the Indonesian armed forces , Gen. Endriartono Sutarto , attended a farewell ceremony on board the aircraft carrier on Thursday .