rest against someone or something
to lean against someone or something; to take a rest period positioned against someone or something. The child rested against his father until it was time to board the train. A fishing pole rested against the side of the garage, ready to go to work.
rest something against something
to lean or position something against something, allowing it to bear part of the weight of the thing being rested. Rest the heavy end of the box against the wall and we'll slide it down the stairs. Please rest the board against something solid while you paint it.