No, the pump does not switch itself off. You need to wait until the bed is firm to the touch and then manually switch off the pump.
Does the electric inflatable bed turn itself off when the bed is inflated?
Does the electric inflatable bed turn itself off when the bed is inflated?