An intense rescue unfolded on a California beach last Wednesday after a teenager became "significantly stuck" in the mud as the tide came in, officials said.