Print bed moves way up for printing
It is normal for an Ultimaker print bed to move up. But it should be stopped before the nozzle.

As it doesn't stop the end stop doesn't work. So either the end stop is not connected to the right connector or it is triggering too late.

The Z end stop must be screwed at the right hight. If you mount it too far up it will not trigger. The bed assembly has a small wooden peace that sticks up. The idea is that that wooden peace pushes the end stop at the right hight.

So instead of configuring the hight in the firmware you need to mount the Z end stop at the exact right hight. You can make the fine adjustments(Bed Leveling) with the screws that hold the bed.

You can test the end stop by manually triggering while the bed moves up. It needs to stop immediately once you trigger the end stop. If the bed does not stop, then check the connection or exchange the switch.

It can happen that the switch itself malfunctions if you screwed it in too tightly. So loosening up the screws a bit is a final test.