How to create RECOIL?

I was wondering how to create small recoil that shoots your camera up a tiny bit and goes back to the original position after a short while.

EX: