In this paper, the problem of attitude stabilisation without unwinding is investigated for rigid spacecraft. To guarantee predefined-time convergence and unwinding-free performance of the closed-loop system, a predefined-time sliding mode function with adjustable parameters is proposed. This sliding mode function contains two equilibrium points. When the states of the closed-loop system are on the sliding mode surface, they converge to the equilibrium point near the initial states. Based on this sliding mode function, an adaptive attitude stabilising control law with tuning parameters is designed to compensate the external disturbances and inertia uncertainty. The presented control law guarantees that the settling time of the closed-loop system and the bounds of the system states can be explicitly determined in advance by adjusting parameters of the sliding mode function and the control law. Finally, numerical simulations are carried out to demonstrate the effectiveness of the presented control law. The simulation results illustrate that the predefined-time convergence and unwinding-free property of the closed-loop system are guaranteed by adopting the presented control law.