You mean the pit with the ostrich thing? You learn a super jump to get out of there, the ostrich thing teaches you if you follow its movements and repeat them