We propose a protocol for the reversal of a weak measurement on a qubit and discuss a possible experimental scheme for the state protection in a cavity QED system. Unlike previous methods for the reversal of weak measurement, the proposed scheme does not require another weak measurement in the reversal process and therefore can be accomplished in a small time. The present scheme is based on repeated applications of Hadamard and CNOT gates. 2011 IOP Publishing Ltd.