Knights stun Pirates on final play