I'm so glad to hear he's doing well! poor creature!
honestly animals can be so foolish sometimes, I remember I heard a huge clatter once and it was because my rabbit had squeezed behind the washing machine and got stuck, and some things had fallen on top of him. He was completely spooked and getting him out from behind there was a major deal (I had to climb on top of the washer and haul him out). My rabbit is completely my baby, I love him with all of my heart, so I know exactly how you must have felt!
big hugs for W, may he learn from the experience!