If you're stuck in quicksand, frantic movements will only hurt your cause. Whatever you do, do it slowly. Slow movements will prevent you from agitating the quicksand; vibrations caused by rapid movements can turn otherwise relatively firm ground into more quicksand.