The man was holding the handle of the floating mattress trying to bring it to the edge