DescriptionUnmanned Aerial Vehicles (UAVs) have emerged as an extraordinarily useful technology in both civilian and military applications. Recent efforts have focused on expanding the capabilities of individual UAVs to the application of multiple vehicle swarms to efficiently accomplish otherwise laborious and dangerous tasks. In this work, a trajectory generation method is presented to safely land the individuals of a UAV team on a moving vessel following the performance of a team mission. It is assumed that the landing vessel has a compartment dedicated to vehicle storage which restricts the final landing maneuver to a confined space. Trajectories are generated by solving a constrained optimization problem in a computationally efficient manner by exploiting the properties of Pythagorean Hodograph Bèzier curves. A case study is presented to demonstrate the efficacy of the proposed trajectory generator. The study examines the effectiveness of the method to create successful landing trajectories for the individuals of the UAV swarm. It is shown that the method creates collision-free trajectories for multiple vehicles as they attempt to land in a confined compartment on a moving target.