They aren't donated as such.
The neutral metallic atom loses all it's electrons to become a positive ion with a full outer shell, equivalent to that of the group 0 atom in the period above. These free electrons then form the sea of delocalised electrons, and, as you should know. Metallic bonds are 'Electrostatic forces of attraction between a positively charged metal ion and the delocalised electrons'.