Takeoff first waypoint, switch to Auto in flight

What if my mission first waypoint is TAKEOFF and I actually take off in FBWA an then switch to AUTO while already in the air? Is takeoff waypoint skipped if the altitude is higher than the one set in takeoff wayoint parameter? And what if my takeoff altitude is 40m and I switch to auto while flying at 30m? Is the wayoint skipped or the 10m remaining are climbed?

Thanks, Gabriele