Using an electric pressure cooker, press Sauté, adjust it to high heat. Once the pot is hot, heat vegetable or canola oil. Add half the pork and brown each side for about 2-3 minutes. Remove into a bowl. Repeat with the remaining pork.
Add the onion. Sauté until the onion is softened and translucent. Add the garlic and sauté for another 30 seconds or until fragrant. Cancel sauté mode.
Return the pork along with any juices. Add ½ cup vinegar, sugar, peppercorn, and bay leaves.
Close and lock the lid, making sure the sealing knob is on sealing. Pressure cook on high for 30-45 minutes.
Once the cooking is done, you can release the pressure by the quick or natural pressure release.
Press Sauté, adjust to high. Simmer for another 10 minutes until the sauce is reduced and thickened, stirring occasionally.
Serve with Jasmine rice.