وَجَعَلُوا عَلَى عَوْرَتِهِ خِرْقَةً، وَنَزَعُوا ثِيَابَهُ
Translation: Cover the private area with a cloth and remove the clothing.
The private area must remain covered during washing even though ordinary garments are removed. Washing and modesty are maintained together.