 The Midrash compared Moses to a governor who could be sure that the king would confirm whatever orders he gave so long as he retained his office.The governor redeemed whomever he desired and imprisoned whomever he desired.But as soon as the governor retired and another was appointed in his place, the gatekeeper would not let him enter the king's palace.