Experiments were conducted where the underwater bubble oscillates between two boundaries, a free surface and a horizontal rigid wall. The motion features of both the bubble and the free surface were investigated, via the consideration of two key factors, i.e., the non-dimensional distances from the bubble to the two boundaries. To support the investigation, experiments were conducted in the first place where the bubble oscillates near only one of the two boundaries. Then the other boundary was inserted at different positions to observe the changes in the motion features, including the types, maximum speed and height of the water spike and skirt, the form and speed of the jets, and bubble shapes. Correspondence is found between the motion features of the free surface and different stages of bubble oscillation. Intriguing details such as gas torus around the jet, double jets, bubble entrapment, and microjet of the water spike, etc., are observed.