Underactuated mechanical systems offer complex dynamic behavior and poses control challenges, especially in the presence of uncertainties in the system. To cope with such systems, control mechanisms are required, which needs to be robust. In this research, an algorithm based on sliding mode control (SMC) is presented. The algorithm design offer a methodical way to handle underactuation, while the robustness properties of SMC suppresses the effect of norm bounded uncertainties and external disturbances. To proceed with the design, an underactuated system is converted into cascaded subsystems, a linear one and reduced-order nonlinear subsystem. The proposed SMC design is backed by rigorous mathematical presentation and based on Lyapunov theory, so that the global stabilization of overall system is ensured. Numerical simulations are performed, on the laboratory test bench underactuated systems (Inertial Wheel, Furuta Pendulum, TORA, and an Overhead Crane), to validate the efficacy of the proposed design. In addition, a novel sliding surface is presented for Inertial Wheel and Furuta Pendulum to achieve swingup control and global stabilization subjected to uncertainties.