Then Moses left Pharaoh's presence and prayed to the LORD. 