We present a novel technique, which we term bailout embedding, that can be used to target orbits having particular properties out of all orbits in a flow or map. We explicitly construct a bailout embedding for Hamiltonian systems so as to target KAM orbits. We show how the bailout dynamics is able to lock onto extremely small KAM islands in an ergodic sea.