There seems to be some confusion on this app about what does and does not constitute being in contact with the bag.
Here is a textbook example of a player who initially touches the bag safely but then comes off the bag and is tagged out. Hope this helps.