1. A multi-rotor unmanned aerial vehicle, comprising:a main body comprising a battery compartment;
a plurality of arms, wherein each arm is coupled to the main body and extends laterally from the main body;
a propulsion assembly disposed on the each arm, wherein the propulsion assembly comprises a propeller;
a battery assembly comprising a shell and a battery body disposed in the shell, wherein the battery assembly is configured to be accommodated in the battery compartment;
a clamp button configured to detachably attach the battery assembly to the main body; and
a restorable elastic piece connecting to the clamp button or contacting the clamp button, wherein the restorable elastic piece is configured to reset the clamp button to a position, the restorable elastic piece and the clamp button being two different separate components.