On my E35, the ladder has two fittings at the top, screwed into the teak board at the bottom of the companionway, which are removeable. There are two hooks at the bottom on the ladder which attach to eyes in the floor to hold it securely in place.
Gareth
Freyja E35 1972 #241