Reversible trapping on a cubic lattice: Comparison of theory and simulations