How do you take the time capsle out of the ground on big nate island?

You can't. You can only get the capsule out so far. Once it reaches it full length, you have to click on the button. The chest will open and you receive your medallion.