A person who sleeps firmly seated loses Wudu merely because they are leaning on a support that would make them fall if removed.

Wudu: Ten Things That Do Not Invalidate It