An implementation of a construct similar to callcc, known in the functional programming world, is shown in the context of the WAM, and more particular in hProlog. The idea behind this implementation is easy to adapt to many Prolog implementations.