Read this and answer the question

Most of the Estonian Defence Forces surrendered according to the orders of the Estonian government, believing that resistance was useless and were disarmed by the Red Army. Only the Estonian Independent Signal Battalion showed resistance to Red Army and Communist militia "People's Self-Defence" units in front of the XXI Grammar School in Tallinn on 21 June. As the Red Army brought in additional reinforcements supported by six armoured fighting vehicles, the battle lasted several hours until sundown. Finally the military resistance was ended with negotiations and the Independent Signal Battalion surrendered and was disarmed. There were two dead Estonian servicemen, Aleksei Mannikus and Johannes Mandre, and several wounded on the Estonian side and about ten killed and more wounded on the Soviet side.

Who commanded the defense of the Estonia to surrender?
the Estonian government