If you are standing on a rug, and it suddenly is pulled out from under you, what would happen?
You would fall down. You would lose your footing.
It usually means to suddenly lose one's position or that ones pretenses change. I don't quite understand its use here.