Rama asks Sugriva to challenge Vali and bring him outside Kishkindha. As Rama explains later, for 14 years he cannot enter a city. Moreover, Rama does not want any unnecessary bloodbath of Vali’s army with whom he wants to maintain friendly relations. Despite this, killing Vali would not be impossible for Rama as Sugriva and Vali were identical twins. Just a few days before, Rama had killed Khar and Dushan and their army of 14, 000 rakshasas. Sugriva formed an alliance with Rama. Rama had been travelling the length of India in search of his kidnapped wife, Sita. Sugriva asked Rama’s help in return for his help in defeating Ravana and rescuing Sita. The two hatched a plan to topple Vali from the throne. Sugriva challenged Vali to a fight. When Vali sallied forth to meet the challenge, Rama emerged from the forest to shoot and kill him with an arrow from the back of a tree.