In which of the following cases can the work done increases the potential energy ?