There is no need to deflate during the making process, just deflate before finally serving.
After putting the cake batter into the electric pressure cooker, close the lid and see if the pressure valve returns to its original position. Be sure to reset the valve, otherwise the water inside will evaporate easily during operation. If it falls off, the pot will burn. When using an electric pressure cooker, don't open the lid immediately after the time is up. The air pressure here is still very high. You need to wait a few minutes until the air pressure inside drops. Deflate it and open the lid.