An unmanned aerial vehicle that delivers a package includes a plurality of rotary wings, a plurality of first motors, a main body, a connector, a movable block, and a processor. When the connector is connected to a rail, the processor sets a rotation rate of the plurality of first motors to a rotation rate that is lower than a minimum rotation rate necessary for floating and higher than a minimum rotation rate necessary for propulsion along the rail. Furthermore, the processor causes the movable block to increase the angle formed by the normal direction of an imaginary plane containing the plurality of rotary wings relative to a support direction of the connector.